mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 16:29:43 +01:00
* #ifdef'd QLocale call.
This commit is contained in:
parent
48da0d6a10
commit
eea4c2f46e
@ -151,7 +151,11 @@ TomahawkApp::TomahawkApp( int& argc, char *argv[] )
|
||||
void
|
||||
TomahawkApp::installTranslator()
|
||||
{
|
||||
#if QT_VERSION >= 0x040800
|
||||
QString locale = QLocale::system().uiLanguages().first();
|
||||
#else
|
||||
QString locale = QLocale::system().name();
|
||||
#endif
|
||||
if ( locale == "C" )
|
||||
locale = "en";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user