]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Prevent double calling of onDesktopClosing() slot of application
authorjfa <jfa@opencascade.com>
Tue, 11 Oct 2005 10:30:06 +0000 (10:30 +0000)
committerjfa <jfa@opencascade.com>
Tue, 11 Oct 2005 10:30:06 +0000 (10:30 +0000)
src/STD/STD_Application.cxx
src/SalomeApp/SalomeApp_Application.cxx

index ec64212c98c49c3d437aafe21fcbcaefb4c365b7..8bf643109917ccaf9913ff0b69495875dec91921 100755 (executable)
@@ -40,9 +40,6 @@ myActiveViewMgr( 0 )
 {
   STD_MDIDesktop* desk = new STD_MDIDesktop();
 
-  connect( desk, SIGNAL( closing( SUIT_Desktop*, QCloseEvent* ) ),
-           this, SLOT( onDesktopClosing( SUIT_Desktop*, QCloseEvent* ) ) );
-
   setDesktop( desk );
 }
 
index 8a5a757fa467fed41f4cdb1b68e8a4cab443b609..c77aa23e14326d85f0f8885498826146375eb4f3 100644 (file)
@@ -178,9 +178,6 @@ myPrefs( 0 )
   myAccel->setActionKey( SUIT_Accel::RotateUp,    ALT+Key_Up,        SVTK_Viewer::Type() );
   myAccel->setActionKey( SUIT_Accel::RotateDown,  ALT+Key_Down,      SVTK_Viewer::Type() );
 
-  connect( desk, SIGNAL( closing( SUIT_Desktop*, QCloseEvent* ) ),
-           this, SLOT( onDesktopClosing( SUIT_Desktop*, QCloseEvent* ) ) );
-
   connect( mySelMgr, SIGNAL( selectionChanged() ), this, SLOT( onSelection() ) );
 }