Mercurial > hg > svcore
diff 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 |
line wrap: on
line diff
--- a/base/View.cpp Fri May 05 12:34:51 2006 +0000 +++ b/base/View.cpp Fri May 05 13:06:47 2006 +0000 @@ -739,8 +739,13 @@ if (!visible) return; bool modifierPressed = // we only care about these ones - ((QApplication::keyboardModifiers() & Qt::ShiftModifier) || - (QApplication::keyboardModifiers() & Qt::ControlModifier)); + ((QApplication::keyboardModifiers() & Qt::ShiftModifier) +#ifndef Q_WS_MAC + /* OS/X reports that CtrlModifier is pressed after we've + imported a file with Apple+I even though we then released it */ + || (QApplication::keyboardModifiers() & Qt::ControlModifier) +#endif + ); switch (m_followPlay) {