[vlmc-devel] TracksView: Fix a warning
ericb
git at videolan.org
Mon Feb 29 01:06:23 CET 2016
vlmc | branch: master | ericb <eric.bachard at free.fr> | Sat Feb 20 15:22:26 2016 +0100| [9b496b4c823322da7ca04cf0b77de37f7e7d62be] | committer: Hugo Beauzée-Luyssen
TracksView: Fix a warning
> https://code.videolan.org/videolan/vlmc/commit/9b496b4c823322da7ca04cf0b77de37f7e7d62be
---
src/Gui/timeline/TracksView.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Gui/timeline/TracksView.cpp b/src/Gui/timeline/TracksView.cpp
index bde6c7f..cff2bff 100644
--- a/src/Gui/timeline/TracksView.cpp
+++ b/src/Gui/timeline/TracksView.cpp
@@ -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();
}
More information about the Vlmc-devel
mailing list