From bebee64ca928f98e2739dcff1126c6de22874885 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 20 Oct 2017 06:26:28 -0400 Subject: Don't show localization warning unless verbose Signed-off-by: Dirk Hohndel --- core/qt-init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/qt-init.cpp') 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; -- cgit v1.2.3-70-g09d2