We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 59e161e commit a97065fCopy full SHA for a97065f
src/app/main.cpp
@@ -592,13 +592,14 @@ int main( int argc, char *argv[] )
592
{
593
myApp.installTranslator( &qgistor );
594
}
595
+
596
/* Translation file for Qt.
597
* The strings from the QMenuBar context section are used by Qt/Mac to shift
598
* the About, Preferences and Quit items to the Mac Application menu.
599
* These items must be translated identically in both qt_ and qgis_ files.
600
*/
601
QTranslator qttor( 0 );
- if ( qttor.load( QString( "qt_" ) + myTranslationCode, i18nPath ) )
602
+ if ( qttor.load( QString( "qt_" ) + myTranslationCode, QLibraryInfo::location( QLibraryInfo::TranslationsPath ) ) )
603
604
myApp.installTranslator( &qttor );
605
0 commit comments