changeset 13274 | e381f5260b45 |
parent 11818 | b421923c2577 |
child 13304 | 5ac2bdefa173 |
--- a/QTfrontend/ui/page/pagemain.cpp Fri Mar 23 03:37:07 2018 +0100 +++ b/QTfrontend/ui/page/pagemain.cpp Sat Mar 24 00:26:39 2018 +0100 @@ -166,9 +166,7 @@ QSettings settings(dataMgr.settingsFileName(), QSettings::IniFormat); - QString loc = settings.value("misc/locale", "").toString(); - if (loc.isEmpty()) - loc = QLocale::system().name(); + QString loc = QLocale().name(); QString tipFile = QString("physfs://Locale/tips_" + loc + ".xml");