2008-07-24 Tor Arne Vestbø <tavestbo@trolltech.com>
[WebKit-https.git] / WebCore / platform / qt / PlatformKeyboardEventQt.cpp
index 5a54d8a9ad6e04cbd0fbf3d3dca17f5087560813..cc2aba4403e5765b8a5f1608ecc96cbd4128dacf 100644 (file)
@@ -446,6 +446,7 @@ PlatformKeyboardEvent::PlatformKeyboardEvent(QKeyEvent* event)
     m_windowsVirtualKeyCode = windowsKeyCodeForKeyEvent(event->key());
     m_isKeypad = (state & Qt::KeypadModifier) != 0;
     m_shiftKey = (state & Qt::ShiftModifier) != 0 || event->key() == Qt::Key_Backtab; // Simulate Shift+Tab with Key_Backtab
+    m_qtEvent = event;
 }
 
 void PlatformKeyboardEvent::disambiguateKeyDownEvent(Type type, bool)