Changeset 127487 in webkit


Ignore:
Timestamp:
Sep 4, 2012 12:48:56 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt] Remove use of deprecated QInputMethod method
https://bugs.webkit.org/show_bug.cgi?id=95741

Patch by Pekka Vuorela <pvuorela@iki.fi> on 2012-09-04
Reviewed by Simon Hausmann.

Adapt from deprecated QInputMethod::visible() to isVisible().

  • UIProcess/qt/QtWebPageEventHandler.cpp:

(WebKit::setInputPanelVisible):
(WebKit::QtWebPageEventHandler::inputPanelVisibleChanged):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r127457 r127487  
     12012-09-04  Pekka Vuorela  <pvuorela@iki.fi>
     2
     3        [Qt] Remove use of deprecated QInputMethod method
     4        https://bugs.webkit.org/show_bug.cgi?id=95741
     5
     6        Reviewed by Simon Hausmann.
     7
     8        Adapt from deprecated QInputMethod::visible() to isVisible().
     9
     10        * UIProcess/qt/QtWebPageEventHandler.cpp:
     11        (WebKit::setInputPanelVisible):
     12        (WebKit::QtWebPageEventHandler::inputPanelVisibleChanged):
     13
    1142012-09-04  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
    215
  • trunk/Source/WebKit2/UIProcess/qt/QtWebPageEventHandler.cpp

    r124455 r127487  
    399399static void setInputPanelVisible(bool visible)
    400400{
    401     if (qApp->inputMethod()->visible() == visible)
     401    if (qApp->inputMethod()->isVisible() == visible)
    402402        return;
    403403
     
    411411
    412412    // We only respond to the input panel becoming visible.
    413     if (!m_webView->hasActiveFocus() || !qApp->inputMethod()->visible())
     413    if (!m_webView->hasActiveFocus() || !qApp->inputMethod()->isVisible())
    414414        return;
    415415
Note: See TracChangeset for help on using the changeset viewer.