From: Anthony Geay Date: Tue, 23 Feb 2021 16:55:26 +0000 (+0100) Subject: WIP X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7efe0f79c1721a4233dddd92233315386633e37f;p=modules%2Fgui.git WIP --- diff --git a/src/Session/salome2810.cxx b/src/Session/salome2810.cxx index 8f09b85e4..b4bae5304 100644 --- a/src/Session/salome2810.cxx +++ b/src/Session/salome2810.cxx @@ -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 << ")";