From d2a701aaa0fd5fd539584706318fa01b4e5c4129 Mon Sep 17 00:00:00 2001 From: asv Date: Wed, 10 Aug 2005 04:22:53 +0000 Subject: [PATCH] a minor change to made code compilable on Debian (explicid creation of a dialog before calling exec() on it). --- src/SalomeApp/SalomeApp_Application.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- 2.39.2