From 34cf96d645ebdd25b7d2ecf6c22eed031d234ccc Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Tue, 17 Mar 2020 16:19:55 +0100 Subject: OutputFormatter: Simplify newline handling There does not seem to be a reason to remove trailing newlines and re- insert them on the next call. Presumably, this is related to historical auto-newline magic. Change-Id: If4dc8acf022d3895b41b887af25d63cca36bf8a4 Reviewed-by: hjk --- src/libs/utils/outputformatter.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/libs/utils/outputformatter.h') diff --git a/src/libs/utils/outputformatter.h b/src/libs/utils/outputformatter.h index e97eca6ce7..9c9302c4df 100644 --- a/src/libs/utils/outputformatter.h +++ b/src/libs/utils/outputformatter.h @@ -72,8 +72,6 @@ protected: QTextCursor &cursor() const; private: - QString doNewlineEnforcement(const QString &out); - virtual void doAppendMessage(const QString &text, const QTextCharFormat &format); Internal::OutputFormatterPrivate *d; }; -- cgit v1.2.3