summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qdnd_qws.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qdnd_qws.cpp')
-rw-r--r--src/gui/kernel/qdnd_qws.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qdnd_qws.cpp b/src/gui/kernel/qdnd_qws.cpp
index e47de00..7e5afc7 100644
--- a/src/gui/kernel/qdnd_qws.cpp
+++ b/src/gui/kernel/qdnd_qws.cpp
@@ -192,6 +192,10 @@ bool QDragManager::eventFilter(QObject *o, QEvent *e)
return false;
switch(e->type()) {
+ case QEvent::ShortcutOverride:
+ // prevent accelerators from firing while dragging
+ e->accept();
+ return true;
case QEvent::KeyPress:
case QEvent::KeyRelease: