aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickcheckdelegate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quicktemplates2/qquickcheckdelegate.cpp')
-rw-r--r--src/quicktemplates2/qquickcheckdelegate.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/quicktemplates2/qquickcheckdelegate.cpp b/src/quicktemplates2/qquickcheckdelegate.cpp
index 35de80ec..9c4a84f5 100644
--- a/src/quicktemplates2/qquickcheckdelegate.cpp
+++ b/src/quicktemplates2/qquickcheckdelegate.cpp
@@ -89,16 +89,10 @@ class QQuickCheckDelegatePrivate : public QQuickItemDelegatePrivate
Q_DECLARE_PUBLIC(QQuickCheckDelegate)
public:
- QQuickCheckDelegatePrivate()
- : 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;
};