Salome HOME
projects
/
modules
/
gui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
eec2678
)
Fix a bug : avoid Qt's warning
author
vsr
<vsr@opencascade.com>
Tue, 21 Jun 2005 06:19:03 +0000
(06:19 +0000)
committer
vsr
<vsr@opencascade.com>
Tue, 21 Jun 2005 06:19:03 +0000
(06:19 +0000)
src/SUIT/SUIT_Application.cxx
patch
|
blob
|
history
diff --git
a/src/SUIT/SUIT_Application.cxx
b/src/SUIT/SUIT_Application.cxx
index b281997cfe8fb371d2209abff10413bc67659b45..4acf370ac4431bbcccd00fc84c2169acf328d83e 100755
(executable)
--- a/
src/SUIT/SUIT_Application.cxx
+++ b/
src/SUIT/SUIT_Application.cxx
@@
-108,8
+108,8
@@
void SUIT_Application::setDesktop( SUIT_Desktop* desk )
delete myDesktop;
myDesktop = desk;
delete myDesktop;
myDesktop = desk;
- connect( myDesktop, SIGNAL( activated() ),
-
this, SLOT( onDesktopActivated() ) );
+ if ( myDesktop )
+
connect( myDesktop, SIGNAL( activated() ),
this, SLOT( onDesktopActivated() ) );
}
SUIT_Study* SUIT_Application::createNewStudy()
}
SUIT_Study* SUIT_Application::createNewStudy()