]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
WIP
authorAnthony Geay <anthony.geay@edf.fr>
Tue, 23 Feb 2021 16:55:26 +0000 (17:55 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Tue, 23 Feb 2021 16:55:26 +0000 (17:55 +0100)
src/Session/salome2810.cxx

index 8f09b85e4ff81f0d3d56eb14cc248f05653963bd..b4bae53041415a3c9dcbe807fa0717f1f96a72ac 100644 (file)
@@ -66,7 +66,7 @@ int main(int argc, char *argv[])
   for(std::size_t im = 0 ; im < sizeof(MODULES)/sizeof(decltype(MODULES[0])) ; ++im )
   {
     QString root_dir = pe.value( QString("%1_ROOT_DIR").arg(MODULES[im]) );
-    catalogs << QDir::toNativeSeparators( QString("%1/share/salome/resources/%2/%3Catalog.xml").arg(root_dir).arg(root_dir.toLower()).arg(root_dir) );
+    catalogs << QDir::toNativeSeparators( QString("%1/share/salome/resources/%2/%3Catalog.xml").arg(root_dir).arg(QString(MODULES[im]).toLower()).arg(MODULES[im]) );
   }
   args << catalogs.join("::");
   args << ")";