We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f9a755 commit e0c761cCopy full SHA for e0c761c
src/app/main.cpp
@@ -790,6 +790,7 @@ int main( int argc, char *argv[] )
790
}
791
792
QTranslator qgistor( 0 );
793
+ QTranslator qttor( 0 );
794
if ( myTranslationCode != "C" )
795
{
796
if ( qgistor.load( QString( "qgis_" ) + myTranslationCode, i18nPath ) )
@@ -806,7 +807,6 @@ int main( int argc, char *argv[] )
806
807
* the About, Preferences and Quit items to the Mac Application menu.
808
* These items must be translated identically in both qt_ and qgis_ files.
809
*/
- QTranslator qttor( 0 );
810
if ( qttor.load( QString( "qt_" ) + myTranslationCode, QLibraryInfo::location( QLibraryInfo::TranslationsPath ) ) )
811
812
myApp.installTranslator( &qttor );
0 commit comments