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=61cc1556af3e1f99cba47cb5e69b1d2ed5bd356f;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"));