[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdelibs/kdoctools
From: Dirk Mueller <mueller () kde ! org>
Date: 2003-07-31 20:57:56
[Download RAW message or body]
CVS commit by mueller:
make the srcdir path absolute otherwise it does not work (meinproc chdir's afterwards)
M +4 -4 meinproc.cpp 1.33
--- kdelibs/kdoctools/meinproc.cpp #1.32:1.33
@@ -18,4 +18,5 @@
#include <xslt.h>
#include <qfile.h>
+#include <qdir.h>
#include <kcmdlineargs.h>
#include <klocale.h>
@@ -109,7 +110,6 @@ int main(int argc, char **argv) {
// Need to set SRCDIR before calling fillInstance
QString srcdir;
- if ( args->isSet( "srcdir" ) ) {
- srcdir = args->getOption("srcdir") ;
- }
+ if ( args->isSet( "srcdir" ) )
+ srcdir = QDir( QFile::decodeName( args->getOption( "srcdir" ) ) ).absPath();
fillInstance(ins,srcdir);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic