Simplifications.
This commit is contained in:
@@ -238,15 +238,10 @@ void BCDriverStateWidget::updateStyle()
|
||||
|
||||
void BCDriverStateWidget::mouseReleaseEvent(QMouseEvent* event)
|
||||
{
|
||||
qDebug() << " --- RELAASE!";
|
||||
|
||||
if (event->button() == Qt::LeftButton)
|
||||
{
|
||||
qDebug() << " --- MOO?!";
|
||||
|
||||
emit clicked();
|
||||
}
|
||||
|
||||
QWidget::mouseReleaseEvent(event);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user