MainWindow: Delay restoreWindowState

QLayout calls setMinimumSize, which breaks maximized state on Windows.

Task-number: QTCREATORBUG-9586
Change-Id: Ibd9ceb8bccbdf26c6369e86ad4918835d645ca1e
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
Orgad Shaneh
2014-01-12 09:08:18 +02:00
committed by Kai Koehne
parent 4ba5a058ae
commit a97b449f2b
2 changed files with 12 additions and 3 deletions

View File

@@ -149,6 +149,7 @@ private slots:
void setSidebarVisible(bool visible);
void destroyVersionDialog();
void openDelayedFiles();
void restoreWindowState();
private:
void updateContextObject(const QList<IContext *> &context);