Title: [127487] trunk/Source/WebKit2
- Revision
- 127487
- Author
- [email protected]
- Date
- 2012-09-04 12:48:56 -0700 (Tue, 04 Sep 2012)
Log Message
[Qt] Remove use of deprecated QInputMethod method
https://bugs.webkit.org/show_bug.cgi?id=95741
Patch by Pekka Vuorela <[email protected]> on 2012-09-04
Reviewed by Simon Hausmann.
Adapt from deprecated QInputMethod::visible() to isVisible().
* UIProcess/qt/QtWebPageEventHandler.cpp:
(WebKit::setInputPanelVisible):
(WebKit::QtWebPageEventHandler::inputPanelVisibleChanged):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (127486 => 127487)
--- trunk/Source/WebKit2/ChangeLog 2012-09-04 19:46:35 UTC (rev 127486)
+++ trunk/Source/WebKit2/ChangeLog 2012-09-04 19:48:56 UTC (rev 127487)
@@ -1,3 +1,16 @@
+2012-09-04 Pekka Vuorela <[email protected]>
+
+ [Qt] Remove use of deprecated QInputMethod method
+ https://bugs.webkit.org/show_bug.cgi?id=95741
+
+ Reviewed by Simon Hausmann.
+
+ Adapt from deprecated QInputMethod::visible() to isVisible().
+
+ * UIProcess/qt/QtWebPageEventHandler.cpp:
+ (WebKit::setInputPanelVisible):
+ (WebKit::QtWebPageEventHandler::inputPanelVisibleChanged):
+
2012-09-04 Allan Sandfeld Jensen <[email protected]>
Allow child-frame content in hit-tests.
Modified: trunk/Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.cpp (127486 => 127487)
--- trunk/Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.cpp 2012-09-04 19:46:35 UTC (rev 127486)
+++ trunk/Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.cpp 2012-09-04 19:48:56 UTC (rev 127487)
@@ -398,7 +398,7 @@
static void setInputPanelVisible(bool visible)
{
- if (qApp->inputMethod()->visible() == visible)
+ if (qApp->inputMethod()->isVisible() == visible)
return;
qApp->inputMethod()->setVisible(visible);
@@ -410,7 +410,7 @@
return;
// We only respond to the input panel becoming visible.
- if (!m_webView->hasActiveFocus() || !qApp->inputMethod()->visible())
+ if (!m_webView->hasActiveFocus() || !qApp->inputMethod()->isVisible())
return;
const EditorState& editor = m_webPageProxy->editorState();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes