From f3abe81d510bef5b984544a6d58551ce04cb8b48 Mon Sep 17 00:00:00 2001
From: Alexander Volkov <a.volkov@rusbitech.ru>
Date: Thu, 18 Sep 2014 17:56:56 +0400
Subject: [PATCH] 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>
---
 src/assistant/assistant/mainwindow.cpp | 4 ----
 1 file changed, 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());
 
-- 
GitLab