Version: (using KDE Devel) Installed from: Compiled sources Application output to the application window is removing leading spaces from each line of output. Kdevelop is removing the spaces since when I run the app outside of kdevelop the spaces are there. My program produces command line output and the spaces are used to line things up.
SVN commit 511489 by mattr: don't strip whitespace from the line when inserting it into the application output. BUG: 105376 M +2 -2 processwidget.cpp --- branches/kdevelop/3.4/lib/widgets/processwidget.cpp #511488:511489 @@ -123,7 +123,7 @@ void ProcessWidget::insertStdoutLine(const QString &line) { - insertItem(new ProcessListBoxItem(line.stripWhiteSpace(), + insertItem(new ProcessListBoxItem(line, ProcessListBoxItem::Normal)); maybeScrollToBottom(); } @@ -131,7 +131,7 @@ void ProcessWidget::insertStderrLine(const QString &line) { - insertItem(new ProcessListBoxItem(line.stripWhiteSpace(), + insertItem(new ProcessListBoxItem(line, ProcessListBoxItem::Error)); maybeScrollToBottom(); }
SVN commit 511490 by mattr: Don't strip whitespace when inserting. CCBUG: 105376 M +2 -2 processwidget.cpp --- branches/KDE/3.5/kdevelop/lib/widgets/processwidget.cpp #511489:511490 @@ -123,7 +123,7 @@ void ProcessWidget::insertStdoutLine(const QString &line) { - insertItem(new ProcessListBoxItem(line.stripWhiteSpace(), + insertItem(new ProcessListBoxItem(line, ProcessListBoxItem::Normal)); maybeScrollToBottom(); } @@ -131,7 +131,7 @@ void ProcessWidget::insertStderrLine(const QString &line) { - insertItem(new ProcessListBoxItem(line.stripWhiteSpace(), + insertItem(new ProcessListBoxItem(line, ProcessListBoxItem::Error)); maybeScrollToBottom(); }