summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2014-09-18 17:56:56 +0400
committerAlexander Volkov <a.volkov@rusbitech.ru>2014-10-17 10:05:45 +0200
commitf3abe81d510bef5b984544a6d58551ce04cb8b48 (patch)
treed55b0b18ec354f667e2e31dba6622473c04d529b
parentdff9a4c9e5b5a616c920a693d9c4cca5c49c2d77 (diff)
downloadqttools-f3abe81d510bef5b984544a6d58551ce04cb8b48.tar.gz
Assistant: prevent the main window from jumping during startup
Remove the 6 year old hack which causes an early show of the main window. Change-Id: I1c8d782b3ecd7278068b5a21d34fef937585f25d Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
-rw-r--r--src/assistant/assistant/mainwindow.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/assistant/assistant/mainwindow.cpp b/src/assistant/assistant/mainwindow.cpp
index 491929e0b..8b7afc746 100644
--- a/src/assistant/assistant/mainwindow.cpp
+++ b/src/assistant/assistant/mainwindow.cpp
@@ -206,10 +206,6 @@ MainWindow::MainWindow(CmdLineParser *cmdLine, QWidget *parent)
toolBar->setObjectName(QLatin1String("Bookmark Toolbar"));
bookMarkManager->setBookmarksToolbar(toolBar);
- // Show the widget here, otherwise the restore geometry and state won't work
- // on x11.
- show();
-
toolBar->hide();
toolBarMenu()->addAction(toolBar->toggleViewAction());