]> git.sur5r.net Git - minitube/commitdiff
Mac locale inside Resources 2.1.4
authorFlavio <flavio@odisseo.local>
Thu, 24 Oct 2013 20:04:01 +0000 (22:04 +0200)
committerFlavio <flavio@odisseo.local>
Thu, 24 Oct 2013 20:04:01 +0000 (22:04 +0200)
src/main.cpp

index fe894e6ceee24e2105b49295c3d462b358684082..d26a9ff84226aec38be2371d97a00c2f0245e53d 100644 (file)
@@ -77,7 +77,11 @@ int main(int argc, char **argv) {
 #else
     QString dataDir = "";
 #endif
+#ifdef APP_MAC
+    QString localeDir = qApp->applicationDirPath() + "/../Resources/locale";
+#else
     QString localeDir = qApp->applicationDirPath() + "/locale";
+#endif
     if (!QDir(localeDir).exists()) {
         localeDir = dataDir + "/locale";
     }