From afbe84997e729be17941c6dd79992470e7b619c6 Mon Sep 17 00:00:00 2001 From: Gaute Lindkvist Date: Tue, 27 Nov 2018 15:25:31 +0100 Subject: [PATCH] Fix MDI window placement after Qt5 upgrade --- ApplicationCode/UserInterface/RiuMainWindow.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ApplicationCode/UserInterface/RiuMainWindow.cpp b/ApplicationCode/UserInterface/RiuMainWindow.cpp index bd0b04ce24..4fb8a04a5e 100644 --- a/ApplicationCode/UserInterface/RiuMainWindow.cpp +++ b/ApplicationCode/UserInterface/RiuMainWindow.cpp @@ -1109,11 +1109,6 @@ void RiuMainWindow::addViewer(QWidget* viewer, const RimMdiWindowGeometry& windo initialStateMaximized = true; } - subWin->show(); - - // Move and resize must be done after window is visible - // If not, the position and size of the window is different to specification (Windows 7) - // Might be a Qt bug, must be tested on Linux if (subWindowPos.x() > -1) { subWin->move(subWindowPos);