From: mkr Date: Fri, 26 Dec 2008 11:51:50 +0000 (+0000) Subject: Use PVINSTALLHOME environment variable instead of PVHOME. X-Git-Tag: V2008_FINAL X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bbc590e3d0b2dd683fd92503d73a1426ab29f82d;p=modules%2Fparavis.git Use PVINSTALLHOME environment variable instead of PVHOME. --- diff --git a/src/PVGUI/PVGUI_Module.cxx b/src/PVGUI/PVGUI_Module.cxx index ddec75c9..3c5ef3c6 100644 --- a/src/PVGUI/PVGUI_Module.cxx +++ b/src/PVGUI/PVGUI_Module.cxx @@ -616,13 +616,13 @@ void PVGUI_Module::makeAssistant() const char* binDir = "\\"; const char* binDir1 = "\\..\\"; #else - const char* binDir = "/bin/"; - const char* binDir1 = "/bin/bin/"; + const char* binDir = "/"; + const char* binDir1 = "/bin/"; #endif - QString helper = QString(getenv("PVHOME")) + binDir + QString("pqClientDocFinder.txt"); + QString helper = QString(getenv("PVINSTALLHOME")) + binDir + QString("pqClientDocFinder.txt"); if(!QFile::exists(helper)) - helper = QString(getenv("PVHOME")) + binDir1 + QString("pqClientDocFinder.txt"); + helper = QString(getenv("PVINSTALLHOME")) + binDir1 + QString("pqClientDocFinder.txt"); if(QFile::exists(helper)) { QFile file(helper); if(file.open(QIODevice::ReadOnly)) {