diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp index 61c40b95606..742e8b344a2 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorview.cpp @@ -212,7 +212,6 @@ void PropertyEditorView::changeValue(const QString &name) } } - bool forceReset = false; if (name == "state" && castedValue.toString() == "base state") castedValue = "";