summaryrefslogtreecommitdiff
path: root/cad/qcad/patches/patch-ad
blob: 570562e495fb88fb360105be8d3335cffca2877f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.2 2003/04/29 21:51:54 jtb Exp $

--- relement.cpp.orig
+++ relement.cpp
@@ -3683,7 +3683,7 @@
 
   // Search pattern in /usr/share/<proj>/hatches dir:
   if(!QFileInfo(patternPath).exists()) {
-    patternPath = QString("/usr/share/")+DEF_APPNAME_L+"/hatches/"+_pattern+".dxf";
+    patternPath = QString("@PREFIX@/share/")+DEF_APPNAME_L+"/hatches/"+_pattern+".dxf";
   }
 #endif
   */