forked from qt-creator/qt-creator
Utils: Modernize
range-based for, nullptr, member initializers, override. Change-Id: I21ac5b23883c08dbd75819bb3298bc956cdb972c Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
9364e4b8ec
commit
d88a0d8e68
@@ -37,16 +37,12 @@ namespace Internal {
|
||||
class OutputFormatterPrivate
|
||||
{
|
||||
public:
|
||||
OutputFormatterPrivate()
|
||||
: plainTextEdit(nullptr), overwriteOutput(false)
|
||||
{}
|
||||
|
||||
QPlainTextEdit *plainTextEdit;
|
||||
QPlainTextEdit *plainTextEdit = nullptr;
|
||||
QTextCharFormat formats[NumberOfFormats];
|
||||
QFont font;
|
||||
QTextCursor cursor;
|
||||
AnsiEscapeCodeHandler escapeCodeHandler;
|
||||
bool overwriteOutput;
|
||||
bool overwriteOutput = false;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user