diff --git a/src/libs/vpropertyexplorer/vpropertyformwidget.cpp b/src/libs/vpropertyexplorer/vpropertyformwidget.cpp index 04b3e8ea1..339e6a147 100644 --- a/src/libs/vpropertyexplorer/vpropertyformwidget.cpp +++ b/src/libs/vpropertyexplorer/vpropertyformwidget.cpp @@ -305,7 +305,7 @@ bool VPE::VPropertyFormWidget::eventFilter(QObject *object, QEvent *event) if (event->type() == QEvent::KeyPress) { - if (QPlainTextEdit *textEdit = qobject_cast(editor)) + if (qobject_cast(editor)) { switch (static_cast(event)->key()) {