From 7efe0f79c1721a4233dddd92233315386633e37f Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Tue, 23 Feb 2021 17:55:26 +0100 Subject: [PATCH] WIP --- src/Session/salome2810.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 << ")"; -- 2.39.2