[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: Re: Bug#43277: crash in coutputwidget when doing automake/autoconf
From: Roland Krause <rokrau () yahoo ! com>
Date: 2002-05-31 16:56:02
[Download RAW message or body]
Here is the patch.
Please someone test this with an older qt version (e.g.3.0.3) or a
snapshot.
Roland
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
["coutputwidget.cpp.patch" (text/x-diff)]
Index: coutputwidget.cpp
===================================================================
RCS file: /home/kde/kdevelop/kdevelop/coutputwidget.cpp,v
retrieving revision 1.3.2.4.2.10.2.17
diff -u -p -u -3 -r1.3.2.4.2.10.2.17 coutputwidget.cpp
--- coutputwidget.cpp 2002/05/19 20:34:08 1.3.2.4.2.10.2.17
+++ coutputwidget.cpp 2002/05/31 16:53:18
@@ -122,6 +122,9 @@ void CMakeOutputWidget::insertAtEnd(cons
int paraCount = paragraphs()-1;
bool displayAdditions = (paraCount == currentPara);
+// (rokrau 05/31/02)
+// kdDebug() << "in CMakeOutputWidget::insertAtEnd, line=\n"
+// << line << "\n";
switch (lineType(paraCount))
{
case Error:
@@ -133,7 +136,15 @@ void CMakeOutputWidget::insertAtEnd(cons
append(line);
break;
default:
- append("<font color=\"black\">" + line + "</font>");
+// (rokrau 05/31/02) nasty, nasty
+#if QT_VERSION == 304
+ if (line[0] != '\n') {
+#endif
+ line ="<font color=\"black\">" + line + "</font>";
+ append(line);
+#if QT_VERSION == 304
+ }
+#endif
break;
}
_______________________________________________
Kdevelop-devel mailing list
Kdevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic