mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5101 clang-format: Adjusted penalties
Use lower absolute values to improve control of behavior
This commit is contained in:
@@ -349,11 +349,10 @@ void RiuMainWindowBase::addViewerToMdiArea( QMdiArea* mdiArea,
|
||||
const QPoint& subWindowPos,
|
||||
const QSize& subWindowSize )
|
||||
{
|
||||
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
|
||||
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 );
|
||||
|
||||
bool initialStateTiled = subWindowsAreTiled();
|
||||
|
||||
Reference in New Issue
Block a user