summaryrefslogtreecommitdiff
path: root/net-p2p/transmission-qt4/files/transmission-qt4-2.80-translations-path-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/transmission-qt4/files/transmission-qt4-2.80-translations-path-fix.patch')
-rw-r--r--net-p2p/transmission-qt4/files/transmission-qt4-2.80-translations-path-fix.patch17
1 files changed, 0 insertions, 17 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
deleted file mode 100644
index 48638010..00000000
--- a/net-p2p/transmission-qt4/files/transmission-qt4-2.80-translations-path-fix.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-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 ();