diff --git a/gui/translationhandler.cpp b/gui/translationhandler.cpp index 0caa3dcb1c5..173da1aca94 100644 --- a/gui/translationhandler.cpp +++ b/gui/translationhandler.cpp @@ -142,7 +142,7 @@ bool TranslationHandler::setLanguage(const QString &code) return true; } -QString TranslationHandler::getCurrentLanguage() const +const QString& TranslationHandler::getCurrentLanguage() const { return mCurrentLanguage; }