]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
bos #23886 Instability of runLightSalome.sh -m SHAPER vsr/23886
authorvsr <vsr@opencascade.com>
Thu, 18 Feb 2021 09:38:59 +0000 (12:38 +0300)
committervsr <vsr@opencascade.com>
Thu, 18 Feb 2021 09:38:59 +0000 (12:38 +0300)
src/LightApp/LightApp_Application.cxx
src/Qtx/QtxMainWindow.cxx
src/STD/STD_Application.cxx

index 249ce2fd1a3f12f2a58ff382335163dbd5bc750c..d327983b92b7cc9250b1b7a8a911d3c2ff1d1153 100644 (file)
@@ -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 );
index a2bf89fa4151aec54d7457783e435268246ce7ba..16a525d8cdca40c4c7441bda89db49ff6dd43503 100644 (file)
@@ -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 )
index 4a391e3484dcdf2d274c7897b69d253477590b52..30d926f0ba296492071fcc1c531f85258ca233ea 100644 (file)
@@ -22,7 +22,7 @@
 
 #include "STD_Application.h"
 
-#include "STD_MDIDesktop.h"
+#include "STD_TabDesktop.h"
 
 #include <SUIT_Tools.h>
 #include <SUIT_Study.h>
@@ -57,7 +57,7 @@ STD_Application::STD_Application()
   myExitConfirm( true ),
   myEditEnabled( true )
 {
-  setDesktop( new STD_MDIDesktop() );
+  setDesktop( new STD_TabDesktop() );
 }
 
 /*!Destructor.*/