Skip to content

Commit

Permalink
Merge branch 'bugfix-418' into testing_0.37.2
Browse files Browse the repository at this point in the history
  • Loading branch information
foldynl committed Jul 26, 2024
2 parents b460aec + 7149a0c commit f6fa29a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions ui/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -711,14 +711,6 @@ void MainWindow::setupLayoutMenu()
|| layoutProfile.mainState != QByteArray() )
{
restoreGeometry(layoutProfile.mainGeometry);
#if (QT_VERSION < QT_VERSION_CHECK(6, 3, 0))
// workaround for QTBUG-46620
if ( isMaximized() )
{
const QList<QScreen *> &screens = QGuiApplication::screens();
setGeometry( screens[0]->availableGeometry() );
}
#endif
restoreState(layoutProfile.mainState);
darkLightModeSwith->setChecked(isFusionStyle && layoutProfile.darkMode);
}
Expand Down

0 comments on commit f6fa29a

Please sign in to comment.