From 9696ebb16882656454fbf65e68872c228db598f4 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 18 Feb 2021 12:38:59 +0300 Subject: [PATCH] bos #23886 Instability of runLightSalome.sh -m SHAPER --- src/LightApp/LightApp_Application.cxx | 6 ------ src/Qtx/QtxMainWindow.cxx | 4 ++-- src/STD/STD_Application.cxx | 4 ++-- 3 files changed, 4 insertions(+), 10 deletions(-) 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.*/ -- 2.39.2