From: vsr Date: Thu, 18 Feb 2021 09:38:59 +0000 (+0300) Subject: bos #23886 Instability of runLightSalome.sh -m SHAPER X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fvsr%2F23886;p=modules%2Fgui.git bos #23886 Instability of runLightSalome.sh -m SHAPER --- diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index 249ce2fd1..d327983b9 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -326,12 +326,6 @@ LightApp_Application::LightApp_Application() { Q_INIT_RESOURCE( LightApp ); - STD_TabDesktop* desk = new STD_TabDesktop(); - desk->setFullScreenAllowed(false); - desk->setMinimizeAllowed(false); - - setDesktop( desk ); - // initialize auto save timer myAutoSaveTimer = new QTimer( this ); myAutoSaveTimer->setSingleShot( true ); diff --git a/src/Qtx/QtxMainWindow.cxx b/src/Qtx/QtxMainWindow.cxx index a2bf89fa4..16a525d8c 100644 --- a/src/Qtx/QtxMainWindow.cxx +++ b/src/Qtx/QtxMainWindow.cxx @@ -239,8 +239,8 @@ QtxMainWindow::QtxMainWindow( QWidget* parent, Qt::WindowFlags f ) : QMainWindow( parent, f ), myMenuBar( 0 ), myStatusBar( 0 ), - myFullScreenAllowed(true), - myMinimizeAllowed(true), + myFullScreenAllowed( false ), + myMinimizeAllowed( false ), myOpaque( true ), myResizer( 0 ), myMouseMove( 0 ) diff --git a/src/STD/STD_Application.cxx b/src/STD/STD_Application.cxx index 4a391e348..30d926f0b 100644 --- a/src/STD/STD_Application.cxx +++ b/src/STD/STD_Application.cxx @@ -22,7 +22,7 @@ #include "STD_Application.h" -#include "STD_MDIDesktop.h" +#include "STD_TabDesktop.h" #include #include @@ -57,7 +57,7 @@ STD_Application::STD_Application() myExitConfirm( true ), myEditEnabled( true ) { - setDesktop( new STD_MDIDesktop() ); + setDesktop( new STD_TabDesktop() ); } /*!Destructor.*/