Fix warning: unused variable 'textEdit'.
This commit is contained in:
parent
9e3e59d267
commit
d5da8c6799
|
@ -305,7 +305,7 @@ bool VPE::VPropertyFormWidget::eventFilter(QObject *object, QEvent *event)
|
|||
|
||||
if (event->type() == QEvent::KeyPress)
|
||||
{
|
||||
if (QPlainTextEdit *textEdit = qobject_cast<QPlainTextEdit *>(editor))
|
||||
if (qobject_cast<QPlainTextEdit *>(editor))
|
||||
{
|
||||
switch (static_cast<QKeyEvent *>(event)->key())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user