[Pkg-owncloud-commits] [owncloud-client] 13/20: Correct lookup logic for Qt translations
Sandro Knauß
hefee-guest at moszumanska.debian.org
Fri Oct 24 20:08:13 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch sid
in repository owncloud-client.
commit 8d7408bb0cb96f42334627c895dd0d7e77bcb40c
Author: Daniel Molkentin <danimo at owncloud.com>
Date: Wed Oct 15 09:32:44 2014 +0200
Correct lookup logic for Qt translations
Fixes #1661
---
src/mirall/application.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mirall/application.cpp b/src/mirall/application.cpp
index 30a4376..9558f5d 100644
--- a/src/mirall/application.cpp
+++ b/src/mirall/application.cpp
@@ -532,7 +532,7 @@ void Application::setupTranslations()
setProperty("ui_lang", lang);
const QString qtTrPath = QLibraryInfo::location(QLibraryInfo::TranslationsPath);
const QString qtTrFile = QLatin1String("qt_") + lang;
- if (qtTranslator->load(qtTrFile, qtTrPath)) {
+ if (!qtTranslator->load(qtTrFile, qtTrPath)) {
qtTranslator->load(qtTrFile, trPath);
}
const QString qtkeychainFile = QLatin1String("qt_") + lang;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list