mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 15:48:05 +00:00
only install translator when not empty
This commit is contained in:
parent
52e9fe9296
commit
608dacf689
@ -121,7 +121,8 @@ int main(int argc, char *argv[])
|
||||
QString locale = QLocale::system().name();
|
||||
QTranslator translator;
|
||||
translator.load(":/translations/"+locale);
|
||||
app.installTranslator(&translator);
|
||||
if (!translator.isEmpty())
|
||||
app.installTranslator(&translator);
|
||||
|
||||
QSplashScreen splash(QPixmap(":/images/splash"), 0);
|
||||
splash.show();
|
||||
|
Loading…
Reference in New Issue
Block a user