diff options
author | BlackNoxis <steven.darklight@gmail.com> | 2015-06-26 11:03:17 +0300 |
---|---|---|
committer | BlackNoxis <steven.darklight@gmail.com> | 2015-06-26 11:03:17 +0300 |
commit | 768497794e0dd1a1d7ae2456e95d6bd744907f61 (patch) | |
tree | f8a9b8667e6a792cefdf118b6391c9b2e9e4bf23 /net-p2p/transmission-qt4/files | |
parent | 8f45c5954f01fcc14edc375e1597c9fcdccad0ab (diff) |
[net-p2p/*] remanifested ebuilds
Diffstat (limited to 'net-p2p/transmission-qt4/files')
-rw-r--r-- | net-p2p/transmission-qt4/files/transmission-qt4-2.80-translations-path-fix.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net-p2p/transmission-qt4/files/transmission-qt4-2.80-translations-path-fix.patch b/net-p2p/transmission-qt4/files/transmission-qt4-2.80-translations-path-fix.patch new file mode 100644 index 00000000..48638010 --- /dev/null +++ b/net-p2p/transmission-qt4/files/transmission-qt4-2.80-translations-path-fix.patch @@ -0,0 +1,17 @@ +This patch was adapted from -2.77-transmations-path-fix.patch for 2.80 + +Fix path for finding locale-specific files: +QCoreApplication::applicationDirPath() transforms to '/usr/bin' +and locale files are in '/usr/share/qt4/translations' + +--- qt/app.cc ++++ qt/app.cc +@@ -98,7 +98,7 @@ + installTranslator (&qtTranslator); + + // install the transmission translator +- appTranslator.load (QString (MY_CONFIG_NAME) + "_" + QLocale::system ().name (), QCoreApplication::applicationDirPath () + "/translations"); ++ appTranslator.load (QString (MY_CONFIG_NAME) + "_" + QLocale::system ().name (), QLibraryInfo::location(QLibraryInfo::TranslationsPath) ); + installTranslator (&appTranslator); + + Formatter::initUnits (); |