[Qt] Option key combinations do not work in Input Elements.

https://bugs.webkit.org/show_bug.cgi?id=120423

Q_WS_MAC is obsolete. We should use Q_OS_MAC instead.
This caused QTBUG-32388.

Reviewed by Darin Adler.

* WebCoreSupport/EditorClientQt.cpp:
(WebCore::EditorClientQt::handleKeyboardEvent):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154752 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 1502213a
2013-08-28 Zeno Albisser <zeno@webkit.org>
[Qt] Option key combinations do not work in Input Elements.
https://bugs.webkit.org/show_bug.cgi?id=120423
Q_WS_MAC is obsolete. We should use Q_OS_MAC instead.
This caused QTBUG-32388.
Reviewed by Darin Adler.
* WebCoreSupport/EditorClientQt.cpp:
(WebCore::EditorClientQt::handleKeyboardEvent):
2013-08-28 Darin Adler <darin@apple.com>
Eliminate Pasteboard::generalPasteboard
......
......@@ -479,7 +479,7 @@ void EditorClientQt::handleKeyboardEvent(KeyboardEvent* event)
if (kevent->altKey())
shouldInsertText = true;
} else {
#ifndef Q_WS_MAC
#ifndef Q_OS_MAC
// We need to exclude checking for Alt because it is just a different Shift
if (!kevent->altKey())
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment