Changeset 51694 in webkit
- Timestamp:
- Dec 4, 2009 4:56:49 AM (14 years ago)
- Location:
- trunk/WebKit/qt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/qt/ChangeLog
r51658 r51694 1 2009-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 1 14 2009-12-03 İsmail Dönmez <ismail@namtrac.org> 2 15 -
trunk/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp
r51631 r51694 114 114 115 115 m_inspectedWebPage->d->inspectorController()->setWindowVisible(true, true); 116 // We don't allow the inspector to ask for widget visibility itself because showWindow is117 // not always called when we want.118 // Inspecting an element or calling QWebInspector::show() should already have made the119 // widget visible.120 116 } 121 117 122 118 void InspectorClientQt::closeWindow() 123 119 { 124 if (m_inspectedWebPage->d->inspector) 125 m_inspectedWebPage->d->inspector->close(); 120 m_inspectedWebPage->d->inspectorController()->setWindowVisible(false); 126 121 } 127 122
Note: See TracChangeset
for help on using the changeset viewer.