Changeset 51694 in webkit


Ignore:
Timestamp:
Dec 4, 2009 4:56:49 AM (14 years ago)
Author:
eric@webkit.org
Message:

2009-12-04 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Prevent the inspector from closing its wrapping widget.
This is not necessary anymore since we now hide the embedded
close button.
https://bugs.webkit.org/show_bug.cgi?id=32149

  • WebCoreSupport/InspectorClientQt.cpp: (WebCore::InspectorClientQt::showWindow): (WebCore::InspectorClientQt::closeWindow):
Location:
trunk/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/ChangeLog

    r51658 r51694  
     12009-12-04  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Qt] Prevent the inspector from closing its wrapping widget.
     6        This is not necessary anymore since we now hide the embedded
     7        close button.
     8        https://bugs.webkit.org/show_bug.cgi?id=32149
     9
     10        * WebCoreSupport/InspectorClientQt.cpp:
     11        (WebCore::InspectorClientQt::showWindow):
     12        (WebCore::InspectorClientQt::closeWindow):
     13
    1142009-12-03  İsmail Dönmez  <ismail@namtrac.org>
    215
  • trunk/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp

    r51631 r51694  
    114114
    115115    m_inspectedWebPage->d->inspectorController()->setWindowVisible(true, true);
    116     // We don't allow the inspector to ask for widget visibility itself because showWindow is
    117     // not always called when we want.
    118     // Inspecting an element or calling QWebInspector::show() should already have made the
    119     // widget visible.
    120116}
    121117
    122118void InspectorClientQt::closeWindow()
    123119{
    124     if (m_inspectedWebPage->d->inspector)
    125         m_inspectedWebPage->d->inspector->close();
     120    m_inspectedWebPage->d->inspectorController()->setWindowVisible(false);
    126121}
    127122
Note: See TracChangeset for help on using the changeset viewer.