]> git.sur5r.net Git - minitube/commitdiff
Fix translations not loading gitorious/master
authorFlavio <flavio@odisseo.local>
Sun, 3 Feb 2013 20:14:41 +0000 (21:14 +0100)
committerFlavio <flavio@odisseo.local>
Sun, 3 Feb 2013 20:14:41 +0000 (21:14 +0100)
src/main.cpp

index 399e6f081a940dc60d929e79ef22c65d1fe49b04..c1276bd61d2ff4644da492f368484611086fbaa8 100644 (file)
@@ -112,7 +112,7 @@ int main(int argc, char **argv) {
     }
     // qDebug() << "Using locale dir" << localeDir << locale;
     QTranslator translator;
-    translator.load(QLocale::system(), localeDir);
+    translator.load(QLocale::system(), QString(), QString(), localeDir);
     app.installTranslator(&translator);
     QTextCodec::setCodecForTr(QTextCodec::codecForName("utf8"));