summaryrefslogtreecommitdiffstats
path: root/core/qt-init.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-20 06:26:28 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-10-20 06:51:51 -0400
commitbebee64ca928f98e2739dcff1126c6de22874885 (patch)
treef043c6e48500918b6b6252e10fd69d25180ec152 /core/qt-init.cpp
parent022b3e450b278911c2dc9fb1ff211e1ad1230dc8 (diff)
downloadsubsurface-bebee64ca928f98e2739dcff1126c6de22874885.tar.gz
Don't show localization warning unless verbose
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/qt-init.cpp')
-rw-r--r--core/qt-init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/qt-init.cpp b/core/qt-init.cpp
index 02b3c78b1..99b101fdc 100644
--- a/core/qt-init.cpp
+++ b/core/qt-init.cpp
@@ -52,7 +52,7 @@ void init_qt_late()
if (qtTranslator->load(loc, "qt", "_", translationLocation)) {
application->installTranslator(qtTranslator);
} else {
- if (uiLang != "en_US" && uiLang != "en-US")
+ if (verbose && uiLang != "en_US" && uiLang != "en-US")
qDebug() << "can't find Qt localization for locale" << uiLang << "searching in" << translationLocation;
}
ssrfTranslator = new QTranslator;