[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdevelop/parts/customproject
From: Falk Brettschneider <falk.brettschneider () gmx ! de>
Date: 2003-03-11 21:34:50
[Download RAW message or body]
CVS commit by falkbr:
compile fix (KDE-3.0):
it's just commented out. Please make a real fix!
M +6 -1 customprojectpart.cpp 1.26
--- kdevelop/parts/customproject/customprojectpart.cpp #1.25:1.26
@@ -33,4 +33,5 @@
#include <kparts/part.h>
#include <kpopupmenu.h>
+#include <kdeversion.h>
#include "domutil.h"
@@ -470,5 +471,5 @@ void CustomProjectPart::updateTargetMenu
QTextStream stream(&f);
//QRegExp re(".PHONY\\s*:(.*)");
- QRegExp re("^[^($%.#].*[^)\s][:].*$");
+ QRegExp re("^[^($%.#].*[^)\\s][:].*$");
QString str = "";
while (!stream.atEnd()) {
@@ -483,5 +484,9 @@ void CustomProjectPart::updateTargetMenu
{
kdDebug(9025) << "Adding target: " << str.simplifyWhiteSpace() << endl;
+#if KDE_VERSION > 305
m_targets += QStringList::split(" ", str.simplifyWhiteSpace())[0].replace(':', "");
+#else
+ //FIXME
+#endif
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic