File: debian_resources_path.patch

package info (click to toggle)
iannix 0.9.20~dfsg0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 9,736 kB
  • sloc: cpp: 42,060; ansic: 12,322; makefile: 29
file content (19 lines) | stat: -rw-r--r-- 693 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: use FSH path for application resources
 rather than looking for the file in /usr/bin/Tools,
 they should be searched for in /usr/lib/iannix/Tools
Author: IOhannes m zmölnig <umlaeute@debian.org>
Last-Update: 2017-05-19
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- iannix.orig/iannixapp.cpp
+++ iannix/iannixapp.cpp
@@ -83,7 +83,8 @@
     //Start
     setHelp();
 
-    QDir pathApplicationDir = QDir(QCoreApplication::applicationDirPath()).absolutePath();
+    QDir pathApplicationDir = QDir(QCoreApplication::applicationDirPath() +
+"/../lib/iannix/").absolutePath();
 #ifdef Q_OS_MAC
     pathApplicationDir.cdUp();
     pathApplicationDir.cdUp();