diff -r ba4a99830ad1 -r f4282e4db9f7 mainwindow.cpp --- a/mainwindow.cpp Wed Dec 05 14:58:03 2007 +0000 +++ b/mainwindow.cpp Thu Dec 06 18:30:29 2007 +0000 @@ -85,7 +85,7 @@ #if defined(Q_OS_WIN32) if (settings.value("/mainwindow/geometry/maximized", false).toBool()) { - showMaximized(); + setWindowState(Qt::WindowMaximized); } else #endif