summaryrefslogtreecommitdiffstats
path: root/src/core/web_event_factory.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-06-26 18:27:31 +0200
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2015-06-29 15:03:21 +0000
commitf26c87503a338a521376422ef00d8317a23d1d20 (patch)
tree48ba121259173306f5548e33c3224b3cf7452e3b /src/core/web_event_factory.cpp
parent5f0bd2b8126ffbfb5314e922848ab9b9f901f7d9 (diff)
Do not set meta modifier twice
We were setting the meta modifier twice. This breaks CTRL short-cuts on OS X since it may cause both CTRL and Meta to set. Change-Id: Ia4fa229b5b466235207afbe4a27a8078b3b2c876 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/core/web_event_factory.cpp')
-rw-r--r--src/core/web_event_factory.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/web_event_factory.cpp b/src/core/web_event_factory.cpp
index e022d02ef..1a58ae385 100644
--- a/src/core/web_event_factory.cpp
+++ b/src/core/web_event_factory.cpp
@@ -534,8 +534,6 @@ static inline WebInputEvent::Modifiers modifiersForEvent(const QInputEvent* even
result |= WebInputEvent::ShiftKey;
if (modifiers & Qt::AltModifier)
result |= WebInputEvent::AltKey;
- if (modifiers & Qt::MetaModifier)
- result |= WebInputEvent::MetaKey;
if (modifiers & Qt::KeypadModifier)
result |= WebInputEvent::IsKeyPad;