Skip to content

Commit

Permalink
Make return a one-liner
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelgregorius committed Oct 10, 2024
1 parent e89694a commit d5be2e5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/gui/SubWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,7 @@ void SubWindow::paintEvent( QPaintEvent * )
{
// Don't paint any of the other stuff if the sub window is maximized
// so that only its child content is painted.
if (isMaximized())
{
return;
}
if (isMaximized()) { return; }

QPainter p( this );
QRect rect( 0, 0, width(), m_titleBarHeight );
Expand Down

0 comments on commit d5be2e5

Please sign in to comment.