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:
parent
f458b63519
commit
7ca3860ca8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user