Ignore:
Timestamp:
Aug 31, 2016, 5:31:04 PM (9 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update trunk to version 16.8.0

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/translator.cpp

    r176 r181  
    2626        qApp->installTranslator( &app_trans );
    2727        qApp->installTranslator( &qt_trans );
     28        #if QT_VERSION >= 0x050000
     29        qApp->installTranslator( &qtbase_trans );
     30        #endif
    2831}
    2932
     
    5356    // most users won't have Qt installed.
    5457        loadCatalog(qt_trans, "qt", locale, trans_path );
     58        #if QT_VERSION >= 0x050000
     59        loadCatalog(qtbase_trans, "qtbase", locale, trans_path);
     60        #endif
    5561#else
    5662        // In linux try to load it first from app path (in case there's an updated
     
    5965                loadCatalog(qt_trans, "qt", locale, qt_trans_path);
    6066        }
     67        #if QT_VERSION >= 0x050000
     68        if (! loadCatalog(qtbase_trans, "qtbase", locale, trans_path ) ) {
     69                loadCatalog(qtbase_trans, "qtbase", locale, qt_trans_path);
     70        }
     71        #endif
    6172#endif
    6273        loadCatalog(app_trans, "smplayer", locale, trans_path);
Note: See TracChangeset for help on using the changeset viewer.