From: asv Date: Wed, 10 Aug 2005 04:22:53 +0000 (+0000) Subject: a minor change to made code compilable on Debian (explicid creation of a dialog befor... X-Git-Tag: T_3_0_2a1~41 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d2a701aaa0fd5fd539584706318fa01b4e5c4129;p=modules%2Fgui.git a minor change to made code compilable on Debian (explicid creation of a dialog before calling exec() on it). --- diff --git a/src/SalomeApp/SalomeApp_Application.cxx b/src/SalomeApp/SalomeApp_Application.cxx index e52570a5f..39fd8cc55 100644 --- a/src/SalomeApp/SalomeApp_Application.cxx +++ b/src/SalomeApp/SalomeApp_Application.cxx @@ -1932,7 +1932,8 @@ bool SalomeApp_Application::activateModule( CAM_Module* mod ) /*!Display Catalog Genenerator dialog */ void SalomeApp_Application::onCatalogGen() { - ToolsGUI_CatalogGeneratorDlg( desktop() ).exec(); + ToolsGUI_CatalogGeneratorDlg aDlg( desktop() ); + aDlg.exec(); } /*!Display Registry Display dialog */