forked from qt-creator/qt-creator
Utils: Modernize further
Many issues, mostly in headers, were not addressed in
e38410b76c
modernize-use-auto
modernize-use-nullptr
modernize-use-override
modernize-use-using
modernize-use-default-member-init
modernize-use-equals-default
Change-Id: I320a51726db881e582b898948d53735ebb06887a
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -33,8 +33,8 @@ namespace Utils {
|
||||
|
||||
class QTCREATOR_UTILS_EXPORT FormattedText {
|
||||
public:
|
||||
FormattedText() { }
|
||||
FormattedText(const FormattedText &other) : text(other.text), format(other.format) { }
|
||||
FormattedText() = default;
|
||||
FormattedText(const FormattedText &other) = default;
|
||||
FormattedText(const QString &txt, const QTextCharFormat &fmt = QTextCharFormat()) :
|
||||
text(txt), format(fmt)
|
||||
{ }
|
||||
|
||||
Reference in New Issue
Block a user