summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-imagedrop/textedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/doc/snippets/textdocument-imagedrop/textedit.h')
-rw-r--r--src/gui/doc/snippets/textdocument-imagedrop/textedit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/doc/snippets/textdocument-imagedrop/textedit.h b/src/gui/doc/snippets/textdocument-imagedrop/textedit.h
index 3f570884ba..5db7dd0ad7 100644
--- a/src/gui/doc/snippets/textdocument-imagedrop/textedit.h
+++ b/src/gui/doc/snippets/textdocument-imagedrop/textedit.h
@@ -58,7 +58,7 @@ class TextEdit : public QTextEdit
Q_OBJECT
public:
- TextEdit(QWidget *parent=0);
+ explicit TextEdit(QWidget *parent = nullptr);
bool canInsertFromMimeData( const QMimeData *source ) const override;
void insertFromMimeData( const QMimeData *source ) override;
};