comparison base/View.cpp @ 102:0a846f83a4b7

* Move matrix/fft file code to fileio (from base) * Add right-button menu to panes
author Chris Cannam
date Fri, 05 May 2006 13:06:47 +0000
parents 5b8392e80ed6
children f258fd1f74b4
comparison
equal deleted inserted replaced
101:ce1d385f4f89 102:0a846f83a4b7
737 size_t oldPlayPointerFrame = m_playPointerFrame; 737 size_t oldPlayPointerFrame = m_playPointerFrame;
738 m_playPointerFrame = f; 738 m_playPointerFrame = f;
739 if (!visible) return; 739 if (!visible) return;
740 740
741 bool modifierPressed = // we only care about these ones 741 bool modifierPressed = // we only care about these ones
742 ((QApplication::keyboardModifiers() & Qt::ShiftModifier) || 742 ((QApplication::keyboardModifiers() & Qt::ShiftModifier)
743 (QApplication::keyboardModifiers() & Qt::ControlModifier)); 743 #ifndef Q_WS_MAC
744 /* OS/X reports that CtrlModifier is pressed after we've
745 imported a file with Apple+I even though we then released it */
746 || (QApplication::keyboardModifiers() & Qt::ControlModifier)
747 #endif
748 );
744 749
745 switch (m_followPlay) { 750 switch (m_followPlay) {
746 751
747 case PlaybackScrollContinuous: 752 case PlaybackScrollContinuous:
748 if (QApplication::mouseButtons() == Qt::NoButton && 753 if (QApplication::mouseButtons() == Qt::NoButton &&