diff options
Diffstat (limited to 'src/quicktemplates2/qquickcheckbox.cpp')
-rw-r--r-- | src/quicktemplates2/qquickcheckbox.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/quicktemplates2/qquickcheckbox.cpp b/src/quicktemplates2/qquickcheckbox.cpp index cb2e62e7..55d39685 100644 --- a/src/quicktemplates2/qquickcheckbox.cpp +++ b/src/quicktemplates2/qquickcheckbox.cpp @@ -102,16 +102,10 @@ class QQuickCheckBoxPrivate : public QQuickAbstractButtonPrivate Q_DECLARE_PUBLIC(QQuickCheckBox) public: - QQuickCheckBoxPrivate() - : tristate(false), - checkState(Qt::Unchecked) - { - } - void setNextCheckState(const QJSValue &callback); - bool tristate; - Qt::CheckState checkState; + bool tristate = false; + Qt::CheckState checkState = Qt::Unchecked; QJSValue nextCheckState; }; |