]> git.mxchange.org Git - flightgear.git/commitdiff
Disable mouse hover code for now.
authorJames Turner <zakalawe@mac.com>
Mon, 28 Sep 2015 00:43:50 +0000 (19:43 -0500)
committerJames Turner <zakalawe@mac.com>
Mon, 28 Sep 2015 00:43:50 +0000 (19:43 -0500)
src/GUI/AircraftItemDelegate.cxx

index 73d1d56023ca437e959686b796123f52bb38c895..f07cbee4c9d7973fef26b800ae4695bcb70b6906 100644 (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;