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 )
else if ( event->modifiers() & Qt::ShiftModifier && mediaCollisionList.count() == 0 )
{
setDragMode( QGraphicsView::RubberBandDrag );
if ( !event->modifiers() & Qt::ControlModifier )
if ( !(event->modifiers() & Qt::ControlModifier) )
scene()->clearSelection();
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