Remove some stale code.
This commit is contained in:
parent
066d81568d
commit
57432c20ad
1 changed files with 0 additions and 8 deletions
|
@ -338,15 +338,7 @@ bool AircraftItemDelegate::eventFilter( QObject*, QEvent* event )
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
} else if ( event->type() == QEvent::MouseMove ) {
|
} else if ( event->type() == QEvent::MouseMove ) {
|
||||||
#if 0
|
|
||||||
QMouseEvent* me = static_cast< QMouseEvent* >( event );
|
|
||||||
QModelIndex index = m_view->indexAt( me->pos() );
|
|
||||||
QRect vr = m_view->visualRect(index);
|
|
||||||
|
|
||||||
if (packageButtonRect(vr, index).contains(me->pos())) {
|
|
||||||
qDebug() << "mouse inside button";
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue