# HG changeset patch # User anng888 # Date 1196965829 0 # Node ID f4282e4db9f7c9ebeb6f11b82550acd4a57e9470 # Parent ba4a99830ad19c9e29565ab6b0ba330293bf00f0 - Fixed Win32 start up crash as a result of "showing" the main window to early when its previous state was maximized. 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