forked from qt-creator/qt-creator
TextEditor: make TextEditorWidget constructor explicit
Change-Id: I0b2e5b8c09706697efa4c2fbc3bc7483d02f68d3 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -179,7 +179,7 @@ class TEXTEDITOR_EXPORT TextEditorWidget : public QPlainTextEdit
|
|||||||
Q_PROPERTY(int verticalBlockSelectionLastColumn READ verticalBlockSelectionLastColumn)
|
Q_PROPERTY(int verticalBlockSelectionLastColumn READ verticalBlockSelectionLastColumn)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
TextEditorWidget(QWidget *parent = nullptr);
|
explicit TextEditorWidget(QWidget *parent = nullptr);
|
||||||
~TextEditorWidget() override;
|
~TextEditorWidget() override;
|
||||||
|
|
||||||
void setTextDocument(const QSharedPointer<TextDocument> &doc);
|
void setTextDocument(const QSharedPointer<TextDocument> &doc);
|
||||||
|
Reference in New Issue
Block a user