From 608dacf6895223159bff6a342fdbe581187c8b4b Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Sat, 1 Oct 2011 13:23:00 +0200 Subject: [PATCH] only install translator when not empty --- src/qt/bitcoin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 60a907420..91881c349 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -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();