summaryrefslogtreecommitdiff
path: root/cad/qcad2/files/patch-ac
blob: 0add977c28772987d2a96885390be568863d60d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- rconfig.cpp.orig	Sat Sep 23 14:33:24 2000
+++ rconfig.cpp	Sat Sep 23 14:36:05 2000
@@ -178,7 +178,7 @@
   addSetting( "Print:PrintAdjustmentFactor", "1.0");
 
   addSetting( "Paths:BrowserPath", (RUNNING_WINDOWS ? "C:\\Progra~1\\Intern~1\\Iexplore.exe" : "netscape"));
-  addSetting( "Paths:LibraryPath1", "/usr/share/qcad/libraries" );
+  addSetting( "Paths:LibraryPath1", "%%PREFIX%%/share/qcad/libraries" );
 
   verbose=false;
 }
@@ -579,7 +579,7 @@
 
   // Search in /usr/share/qcad/... dir:
   if(!QFileInfo(path).exists()) {
-    path = QString("/usr/share/")+DEF_APPNAME_L+"/"+_relPath;
+    path = QString("%%PREFIX%%/share/")+DEF_APPNAME_L+"/"+_relPath;
   }
 #endif