All pastes #709707 Raw Edit

Something

public text v1 · immutable
#709707 ·published 2007-09-24 21:59 UTC
rendered paste body
Index: kde4automoc.cpp
===================================================================
--- kde4automoc.cpp     (revision 716519)
+++ kde4automoc.cpp     (working copy)
@@ -117,7 +117,9 @@
     line = dotFiles.readLine().trimmed();
     const QStringList incPaths = QString::fromUtf8(line).split(';');
     foreach (const QString &path, incPaths) {
-        mocIncludes << "-I" + path;
+        if (!path.isEmpty()) {
+            mocIncludes << "-I" + path;
+        }
     }
     line = dotFiles.readLine();
     Q_ASSERT(line == "SOURCES:\n");