From dc655cf348a6b3be54f355e7556c6640b062627f Mon Sep 17 00:00:00 2001 From: Fabio D'Urso Date: Tue, 9 Sep 2014 16:09:40 +0200 Subject: [PATCH] Show the window before calling Part::openUrl, so that KMessageBoxes have a visible parent --- shell/shell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/shell.cpp b/shell/shell.cpp index e208ce4d1..7cfa83007 100644 --- a/shell/shell.cpp +++ b/shell/shell.cpp @@ -215,8 +215,8 @@ void Shell::openUrl( const KUrl & url, const QString &serializedOptions ) else { Shell* newShell = new Shell( serializedOptions ); - newShell->openUrl( url, serializedOptions ); newShell->show(); + newShell->openUrl( url, serializedOptions ); } } }