1
0
Fork 0

Disable mouse hover code for now.

This commit is contained in:
James Turner 2015-09-27 19:43:50 -05:00
parent 1d34b96d49
commit 1e2460d9bf

View file

@ -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;