Keys with Shift pressed are to be interpreted as typing events (undoes a change by jdepetris)

This commit is contained in:
Konstantin Isakov 2011-05-08 14:24:41 -07:00
parent 891f316015
commit eee568860e

View file

@ -498,7 +498,7 @@ bool ArticleView::eventFilter( QObject * obj, QEvent * ev )
QKeyEvent * keyEvent = static_cast< QKeyEvent * >( ev );
if ( keyEvent->modifiers() &
( Qt::ControlModifier | Qt::ShiftModifier | Qt::AltModifier | Qt::MetaModifier ) )
( Qt::ControlModifier | Qt::AltModifier | Qt::MetaModifier ) )
return false; // A non-typing modifier is pressed
if ( keyEvent->key() == Qt::Key_Space ||