diff -r 99af8bf63d10 -r 04478da357d0 src/main.cpp --- a/src/main.cpp Tue Jun 28 13:03:21 2022 +0300 +++ b/src/main.cpp Tue Jun 28 14:10:27 2022 +0300 @@ -144,6 +144,7 @@ QObject::tr("LDraw models (*.ldr *.dat)")); } +#if 0 static const QString localeCode(const QString& locale) { if (locale == "system") { @@ -171,6 +172,7 @@ } } } +#endif static ModelData* findModelData(const DocumentManager* documents, ModelId modelId) { @@ -465,7 +467,7 @@ const auto restoreSettings = [&]{ recentlyOpenedFiles = setting(); renderPreferences = loadRenderPreferences(); - changeLanguage(setting(), &translator); + //changeLanguage(setting(), &translator); libraries.restoreFromSettings(); updateRecentlyOpenedDocumentsMenu(); colorTable = loadColors(&libraries);