aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qt/bitcoin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index 60a9074204..91881c349a 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();