Skip to content
Permalink
Browse files

Fix some clazy eventFilter warnings

  • Loading branch information
nyalldawson committed Jun 8, 2018
1 parent 719adfa commit da89f18ed19f06ea51fdcf10b2848fde2602f5da
@@ -83,7 +83,7 @@ bool QgsAttributeTableView::eventFilter( QObject *object, QEvent *event )
break;
}
}
return false;
return QTableView::eventFilter( object, event );
}

void QgsAttributeTableView::setAttributeTableConfig( const QgsAttributeTableConfig &config )
@@ -785,12 +785,12 @@ bool QgsAdvancedDigitizingDockWidget::eventFilter( QObject *obj, QEvent *event )
Q_UNUSED( obj );
if ( event->type() != QEvent::KeyPress )
{
return false;
return QgsDockWidget::eventFilter( obj, event );
}
QKeyEvent *keyEvent = dynamic_cast<QKeyEvent *>( event );
if ( !keyEvent )
{
return false;
return QgsDockWidget::eventFilter( obj, event );
}
return filterKeyPress( keyEvent );
}
@@ -220,7 +220,7 @@ bool QgsCheckableComboBox::eventFilter( QObject *object, QEvent *event )
return true;
}
}
return false;
return QComboBox::eventFilter( object, event );
}

void QgsCheckableComboBox::setCheckedItems( const QStringList &items )
@@ -149,7 +149,7 @@ bool QgsOrderByDialog::eventFilter( QObject *obj, QEvent *e )
}
}

return false;
return QDialog::eventFilter( obj, e );
}

void QgsOrderByDialog::showHelp()

0 comments on commit da89f18

Please sign in to comment.
You can’t perform that action at this time.