Disable mouse hover code for now.
This commit is contained in:
parent
1d34b96d49
commit
1e2460d9bf
1 changed files with 2 additions and 1 deletions
|
@ -293,6 +293,7 @@ bool AircraftItemDelegate::eventFilter( QObject*, QEvent* event )
|
|||
return true;
|
||||
}
|
||||
} 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);
|
||||
|
@ -300,7 +301,7 @@ bool AircraftItemDelegate::eventFilter( QObject*, QEvent* event )
|
|||
if (packageButtonRect(vr, index).contains(me->pos())) {
|
||||
qDebug() << "mouse inside button";
|
||||
}
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue