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.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/quicktemplates2/qquickcheckdelegate.cpp b/src/quicktemplates2/qquickcheckdelegate.cpp
index 9fd8c183..9b0a8064 100644
--- a/src/quicktemplates2/qquickcheckdelegate.cpp
+++ b/src/quicktemplates2/qquickcheckdelegate.cpp
@@ -166,9 +166,6 @@ void QQuickCheckDelegate::setCheckState(Qt::CheckState state)
if (d->checkState == state)
return;
- if (!d->tristate && state == Qt::PartiallyChecked)
- setTristate(true);
-
bool wasChecked = isChecked();
d->checked = state != Qt::Unchecked;
d->checkState = state;