summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-08-13 22:41:00 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-08-13 22:41:00 +0000
commit553469d8e25df2d5b6721fe10aa388325ef4b1c9 (patch)
treee799feebbdfcbbf98b03bf77fb539ca233c7a723 /rbutil
parenta30f5e4b6439e214f032266f80e02ea3d336b783 (diff)
downloadrockbox-553469d8e25df2d5b6721fe10aa388325ef4b1c9.tar.gz
rockbox-553469d8e25df2d5b6721fe10aa388325ef4b1c9.tar.bz2
rockbox-553469d8e25df2d5b6721fe10aa388325ef4b1c9.zip
Fix translator for Qt strings overwriting the application translator (FS#9268).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18275 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/main.cpp b/rbutil/rbutilqt/main.cpp
index 745ebef33b..124d103885 100644
--- a/rbutil/rbutilqt/main.cpp
+++ b/rbutil/rbutilqt/main.cpp
@@ -49,7 +49,7 @@ int main( int argc, char ** argv ) {
translator.load("rbutil_" + applang, ":/lang");
if(!qttrans.load("qt_" + applang,
QLibraryInfo::location(QLibraryInfo::TranslationsPath)))
- translator.load("qt_" + applang, ":/lang");
+ qttrans.load("qt_" + applang, ":/lang");
QLocale::setDefault(applang);
}