- Fixed Win32 start up crash as a result of "showing" the main window to
authoranng888
Thu Dec 06 18:30:29 2007 +0000 (2007-12-06)
changeset 632f4282e4db9f7
parent 631 ba4a99830ad1
child 633 dad2c8993342
- Fixed Win32 start up crash as a result of "showing" the main window to
early when its previous state was maximized.
mainwindow.cpp
     1.1 --- a/mainwindow.cpp	Wed Dec 05 14:58:03 2007 +0000
     1.2 +++ b/mainwindow.cpp	Thu Dec 06 18:30:29 2007 +0000
     1.3 @@ -85,7 +85,7 @@
     1.4  #if defined(Q_OS_WIN32)
     1.5      if (settings.value("/mainwindow/geometry/maximized", false).toBool())
     1.6      {
     1.7 -        showMaximized();
     1.8 +        setWindowState(Qt::WindowMaximized);
     1.9      }
    1.10      else
    1.11  #endif