diff options
Diffstat (limited to 'src/widgets/util/qundostack_p.h')
-rw-r--r-- | src/widgets/util/qundostack_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/util/qundostack_p.h b/src/widgets/util/qundostack_p.h index 2b9735b7a7..681d4721e0 100644 --- a/src/widgets/util/qundostack_p.h +++ b/src/widgets/util/qundostack_p.h @@ -98,7 +98,7 @@ class QUndoAction : public QAction { Q_OBJECT public: - QUndoAction(const QString &prefix, QObject *parent = 0); + explicit QUndoAction(const QString &prefix, QObject *parent = 0); void setTextFormat(const QString &textFormat, const QString &defaultText); public Q_SLOTS: void setPrefixedText(const QString &text); |