Changeset 13382
- Timestamp:
- Jul 9, 2012, 11:22:36 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt/app.cc
r12697 r13382 24 24 #include <QLibraryInfo> 25 25 #include <QRect> 26 #include <QtGlobal>27 26 28 27 #include <libtransmission/transmission.h> … … 99 98 100 99 // install the transmission translator 101 #ifdef Q_OS_WIN32102 100 appTranslator.load( QString(MY_CONFIG_NAME) + "_" + QLocale::system().name(), QCoreApplication::applicationDirPath() + "/translations" ); 103 #else104 appTranslator.load( QString(MY_CONFIG_NAME) + "_" + QLocale::system().name(), QLibraryInfo::location(QLibraryInfo::TranslationsPath) );105 #endif106 101 installTranslator( &appTranslator ); 107 102
Note: See TracChangeset
for help on using the changeset viewer.