Commit 9b496b4c authored by ericb's avatar ericb Committed by Hugo Beauzée-Luyssen

TracksView: Fix a warning

parent e389c34e
...@@ -1124,7 +1124,7 @@ TracksView::mousePressEvent( QMouseEvent *event ) ...@@ -1124,7 +1124,7 @@ TracksView::mousePressEvent( QMouseEvent *event )
else if ( event->modifiers() & Qt::ShiftModifier && mediaCollisionList.count() == 0 ) else if ( event->modifiers() & Qt::ShiftModifier && mediaCollisionList.count() == 0 )
{ {
setDragMode( QGraphicsView::RubberBandDrag ); setDragMode( QGraphicsView::RubberBandDrag );
if ( !event->modifiers() & Qt::ControlModifier ) if ( !(event->modifiers() & Qt::ControlModifier) )
scene()->clearSelection(); scene()->clearSelection();
event->accept(); event->accept();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment