Salome HOME
PAL10084: All python modules wrote 'windows_geometry' in common section 'SalomePyQtGU...
authorjfa <jfa@opencascade.com>
Tue, 27 Sep 2005 15:11:35 +0000 (15:11 +0000)
committerjfa <jfa@opencascade.com>
Tue, 27 Sep 2005 15:11:35 +0000 (15:11 +0000)
src/SalomeApp/SalomeApp_Application.cxx

index f787fc2072a2aefc4254510b91a9bceba54ae8a4..84bbbdaf7aa5f93792f170744fb4a26717c1c2d9 100644 (file)
@@ -1876,7 +1876,7 @@ void SalomeApp_Application::loadWindowsGeometry()
 
   QString modName;
   if ( activeModule() )
-    modName = moduleLibrary( activeModule()->moduleName(), false );
+    modName = activeModule()->name("");
 
   QString section = QString( "windows_geometry" );
   if ( !modName.isEmpty() )
@@ -1900,7 +1900,7 @@ void SalomeApp_Application::saveWindowsGeometry()
 
   QString modName;
   if ( activeModule() )
-    modName = moduleLibrary( activeModule()->moduleName(), false );
+    modName = activeModule()->name("");
 
   QString section = QString( "windows_geometry" );
   if ( !modName.isEmpty() )