mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4265 Remove minimize button from MDI windows. It serves no real purpose.
This commit is contained in:
@@ -178,7 +178,7 @@ void RiuMainWindowBase::addViewerToMdiArea(QMdiArea* mdiArea,
|
||||
const QPoint& subWindowPos,
|
||||
const QSize& subWindowSize)
|
||||
{
|
||||
RiuMdiSubWindow* subWin = new RiuMdiSubWindow;
|
||||
RiuMdiSubWindow* subWin = new RiuMdiSubWindow(nullptr, Qt::CustomizeWindowHint | Qt::WindowCloseButtonHint | Qt::WindowMaximizeButtonHint);
|
||||
subWin->setAttribute(Qt::WA_DeleteOnClose); // Make sure the contained widget is destroyed when the MDI window is closed
|
||||
subWin->setWidget(viewer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user