1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 07:49:42 +01:00

* Fixed qt picking wrong translations.

This commit is contained in:
Christian Muehlhaeuser 2012-12-03 14:54:12 +01:00
parent f458b63519
commit 7ca3860ca8

View File

@ -152,7 +152,7 @@ void
TomahawkApp::installTranslator()
{
#if QT_VERSION >= 0x040800
QString locale = QLocale::system().uiLanguages().first();
QString locale = QLocale::system().uiLanguages().first().replace( "-", "_" );
#else
QString locale = QLocale::system().name();
#endif