[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/khelpcenter
From: Frerich Raabe <raabe () kde ! org>
Date: 2002-12-09 2:43:46
[Download RAW message or body]
CVS commit by raabe:
- Take INFOPATH into account as well.
M +6 -0 infotree.cpp 1.2
--- kdebase/khelpcenter/infotree.cpp #1.1:1.2
@@ -31,4 +31,6 @@
#include <qtextstream.h>
+#include <stdlib.h> // for getenv()
+
using namespace KHC;
@@ -101,4 +103,8 @@ void InfoTree::build( NavigatorItem *par
infoDirFiles << "/usr/X11R6/lib/xemacs/info";
}
+
+ QString infoPath = getenv( "INFOPATH" );
+ if ( !infoPath.isEmpty() )
+ infoDirFiles += QStringList::split( ':', infoPath );
QStringList::ConstIterator it = infoDirFiles.begin();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic