Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /branches/no_more_qt3/src/gui/rulers/MarkerRuler.cpp [r11697] .. [r11698] Maximize Restore

  Switch to side-by-side view

--- a/branches/no_more_qt3/src/gui/rulers/MarkerRuler.cpp
+++ b/branches/no_more_qt3/src/gui/rulers/MarkerRuler.cpp
@@ -427,7 +427,7 @@
         return;       
     }
             
-    bool shiftPressed = ((e->state() & Qt::ShiftModifier) != 0);
+    bool shiftPressed = ((e->modifiers() & Qt::ShiftModifier) != 0);
 
     Composition &comp = m_doc->getComposition();
     Composition::markercontainer markers = comp.getMarkers();