Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
f1253b7f
Commit
f1253b7f
authored
Jul 28, 2010
by
dt
Browse files
Fix outputwindow to not give output twice to the outputwindow
Reviewed-By: Erik Verbruggen
parent
a0598727
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/outputwindow.cpp
View file @
f1253b7f
...
...
@@ -532,7 +532,8 @@ void OutputWindow::appendApplicationOutputInline(const QString &output, bool onS
if
(
!
enforceNewline
)
{
newline
=
out
.
indexOf
(
QLatin1Char
(
'\n'
));
moveCursor
(
QTextCursor
::
End
);
m_formatter
->
appendApplicationOutput
(
newline
<
0
?
out
:
out
.
left
(
newline
),
onStdErr
);
// doesn't enforce new paragraph like appendPlainText
if
(
newline
!=
-
1
)
m_formatter
->
appendApplicationOutput
(
out
.
left
(
newline
),
onStdErr
);
// doesn't enforce new paragraph like appendPlainText
}
QString
s
=
out
.
mid
(
newline
+
1
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment