forked from qt-creator/qt-creator
warnings: Fix -Wdeprecated-copy
Change-Id: Iec5f5edf3752372fd7a0ce94dc26cbf7e75dd8f4 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -34,7 +34,6 @@ namespace Utils {
|
||||
class QTCREATOR_UTILS_EXPORT FormattedText {
|
||||
public:
|
||||
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