[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Sat Aug 13 20:00:00 UTC 2005


SVN commit 449041 by okellogg:

parseFile(): Call Import_Utils::addIncludePath() for the own path.

 M  +6 -0      idlimport.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/idlimport.cpp #449040:449041
@@ -135,6 +135,12 @@
 }
 
 void IDLImport::parseFile(QString filename) {
+    if (filename.contains('/')) {
+        QString path = filename;
+        path.remove( QRegExp("/[^/]+$") );
+        kdDebug() << "IDLImport::parseFile: adding path " << path << endl;
+        Import_Utils::addIncludePath(path);
+    }
     QStringList includePaths = Import_Utils::includePathList();
     //QProcess command("cpp", UMLAp::app());
     QString command("cpp -C");   // -C means "preserve comments"




More information about the umbrello-devel mailing list