mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-12-03 15:34:06 +00:00
Keys with Shift pressed are to be interpreted as typing events (undoes a change by jdepetris)
This commit is contained in:
parent
891f316015
commit
eee568860e
|
@ -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 ||
|
||||
|
|
Loading…
Reference in a new issue