summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/main.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2007-10-07 21:26:53 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2007-10-07 21:26:53 +0000
commit22cf8adf01bac924e2581458483a28dfd776c186 (patch)
tree8f19220c52cc7f6acf438281fffa92b5827c23cf /rbutil/rbutilqt/main.cpp
parent4512f1a14f78b764df1df934b8f95907ca7635cc (diff)
downloadrockbox-22cf8adf01bac924e2581458483a28dfd776c186.tar.gz
rockbox-22cf8adf01bac924e2581458483a28dfd776c186.tar.bz2
rockbox-22cf8adf01bac924e2581458483a28dfd776c186.zip
Use i10n for numbers using QLocale.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15027 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/main.cpp')
-rw-r--r--rbutil/rbutilqt/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/main.cpp b/rbutil/rbutilqt/main.cpp
index a246f6ab27..4928c51d89 100644
--- a/rbutil/rbutilqt/main.cpp
+++ b/rbutil/rbutilqt/main.cpp
@@ -42,6 +42,7 @@ int main( int argc, char ** argv ) {
if(!user->value("lang", "").toString().isEmpty()) {
if(!translator.load("rbutil_" + user->value("lang").toString(), absolutePath))
translator.load("rbutil_" + user->value("lang").toString(), ":/lang");
+ QLocale::setDefault(user->value("lang").toString());
}
delete user;
app.installTranslator(&translator);