Browse Source

only install translator when not empty

miguelfreitas
Wladimir J. van der Laan 13 years ago
parent
commit
608dacf689
  1. 1
      src/qt/bitcoin.cpp

1
src/qt/bitcoin.cpp

@ -121,6 +121,7 @@ int main(int argc, char *argv[])
QString locale = QLocale::system().name(); QString locale = QLocale::system().name();
QTranslator translator; QTranslator translator;
translator.load(":/translations/"+locale); translator.load(":/translations/"+locale);
if (!translator.isEmpty())
app.installTranslator(&translator); app.installTranslator(&translator);
QSplashScreen splash(QPixmap(":/images/splash"), 0); QSplashScreen splash(QPixmap(":/images/splash"), 0);

Loading…
Cancel
Save