Commit e8793ce3 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

StatusbarProgressWidget: fallback to baseclass eventfilter to behave well

parent 89621d1b
......@@ -342,7 +342,7 @@ void StatusbarProgressWidget::slotClean()
}
}
bool StatusbarProgressWidget::eventFilter( QObject *, QEvent *ev )
bool StatusbarProgressWidget::eventFilter(QObject* object, QEvent* ev)
{
if ( ev->type() == QEvent::MouseButtonPress ) {
auto *e = (QMouseEvent*)ev;
......@@ -354,7 +354,7 @@ bool StatusbarProgressWidget::eventFilter( QObject *, QEvent *ev )
return true;
}
}
return false;
return QFrame::eventFilter(object, ev);
}
void StatusbarProgressWidget::slotProgressDialogVisible( bool b )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment