1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 11:20:22 +02:00

* Use QLocale::system().uiLanguages().first() instead of QLocale::system().name().

This commit is contained in:
Christian Muehlhaeuser
2012-11-30 16:54:27 +01:00
parent 1829549969
commit 48da0d6a10

View File

@@ -151,7 +151,7 @@ TomahawkApp::TomahawkApp( int& argc, char *argv[] )
void
TomahawkApp::installTranslator()
{
QString locale = QLocale::system().name();
QString locale = QLocale::system().uiLanguages().first();
if ( locale == "C" )
locale = "en";