From: Flavio Date: Sun, 3 Feb 2013 20:14:41 +0000 (+0100) Subject: Fix translations not loading X-Git-Tag: 1.2.1~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fremotes%2Fgitorious%2Fmaster;p=minitube Fix translations not loading --- diff --git a/src/main.cpp b/src/main.cpp index 399e6f0..c1276bd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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"));