diff options
Diffstat (limited to 'cad/vipec/files/patch-HelpWindow.cpp')
-rw-r--r-- | cad/vipec/files/patch-HelpWindow.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cad/vipec/files/patch-HelpWindow.cpp b/cad/vipec/files/patch-HelpWindow.cpp new file mode 100644 index 000000000000..0896f7fe91aa --- /dev/null +++ b/cad/vipec/files/patch-HelpWindow.cpp @@ -0,0 +1,18 @@ +--- HelpWindow.cpp.orig Thu Oct 2 04:40:40 2003 ++++ HelpWindow.cpp Fri Aug 20 23:49:10 2004 +@@ -36,7 +36,15 @@ + QString vipecHome = QString(getenv("VIPECHOME")); + if ( vipecHome.isEmpty() ) + { ++#ifdef VIPECHOME ++ vipecHome = QString(VIPECHOME); ++ if (vipecHome.isEmpty()) ++ { ++ vipecHome = dir.absPath(); ++ } ++#else + vipecHome = dir.absPath(); ++#endif + } + home_ = vipecHome + "/help/index.html"; + const QStringList currentDir("."); |