Index: coutputwidget.cpp
===================================================================
RCS file: /home/kde/kdevelop/kdevelop/coutputwidget.cpp,v
retrieving revision 1.3.2.4.2.10.2.21
retrieving revision 1.3.2.4.2.10.2.22
diff -r1.3.2.4.2.10.2.21 -r1.3.2.4.2.10.2.22
81a82,83
>   setWordWrap(WidgetWidth); // -JROC
>   setWrapPolicy(Anywhere); // -JROC
84d85
<   setWordWrap(NoWrap);
88,90d88
< #else
<   setWordWrap(WidgetWidth); // -JROC
<   setWrapPolicy(Anywhere); // -JROC
108a107
>     bool displayAdditions=atEnd();
114d112
<     bool displayAdditions=atEnd();
126a125,127
> #if QT_VERSION < 304
>     int paraCount = paragraphs()-1;
> #else
128c129
<     bool displayAdditions = (paraCount-1 == currentPara);
---
> #endif    
144,152c145,150
< //  (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
---
>         // Runtime check for broken Qt version. Don't add empty new lines.
>         if (line[0]=='\n' && strncmp(qVersion(), "3.0.4", sizeof("3.0.4")) == 0)
>           break;
>           
>         line ="<font color=\"black\">" + line + "</font>";
>         append(line);
157c155
<       setCursorPosition(paraCount, 0);
---
>       setCursorPosition(paraCount+1, 0);
293a292,294
> #if QT_VERSION < 304
>     m_errorMap.insert(numLines()-1, errorDetails);
> #else
294a296
> #endif    
