mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix MDI window placement after Qt5 upgrade
This commit is contained in:
parent
b097c8c9b7
commit
afbe84997e
@ -1109,11 +1109,6 @@ void RiuMainWindow::addViewer(QWidget* viewer, const RimMdiWindowGeometry& windo
|
|||||||
initialStateMaximized = true;
|
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)
|
if (subWindowPos.x() > -1)
|
||||||
{
|
{
|
||||||
subWin->move(subWindowPos);
|
subWin->move(subWindowPos);
|
||||||
|
Loading…
Reference in New Issue
Block a user