diff options
Diffstat (limited to 'cad/qcad2/files/patch-relement.cpp')
-rw-r--r-- | cad/qcad2/files/patch-relement.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cad/qcad2/files/patch-relement.cpp b/cad/qcad2/files/patch-relement.cpp new file mode 100644 index 000000000000..579788c75330 --- /dev/null +++ b/cad/qcad2/files/patch-relement.cpp @@ -0,0 +1,11 @@ +--- relement.cpp.orig Fri Nov 8 16:01:15 2002 ++++ relement.cpp Fri Nov 8 16:03:44 2002 +@@ -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("DATADIR")+DEF_APPNAME_L+"/hatches/"+_pattern+".dxf"; + } + #endif + */ |