diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-10-01 13:23:00 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-10-01 13:23:00 +0200 |
commit | 608dacf6895223159bff6a342fdbe581187c8b4b (patch) | |
tree | 1f60951e321e12a8a1e9caac9a0e4df81115a593 /src | |
parent | 52e9fe929615d339732c060573b0637c51e353dc (diff) |
only install translator when not empty
Diffstat (limited to 'src')
-rw-r--r-- | src/qt/bitcoin.cpp | 3 |
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(); |