Changeset 62298 in webkit
- Timestamp:
- Jul 1, 2010 2:02:55 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r62296 r62298 1 2010-07-01 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] Make context menus show up in the right place in QTestBrowser 6 7 Context menus were shown at scene-relative coordinates for 8 QGraphicsWebView while QMenu expects them to be global. The 9 change to the QWidget case was to get rid of the mapToGlobal. 10 11 * QtTestBrowser/webview.cpp: 12 1 13 2010-07-01 Robert Hogan <robert@webkit.org> 2 14 -
trunk/WebKitTools/QtTestBrowser/webview.cpp
r58321 r62298 193 193 { 194 194 QMenu* menu = createContextMenu(page(), event->pos().toPoint()); 195 menu->exec( mapToScene(event->pos()).toPoint());195 menu->exec(event->screenPos()); 196 196 delete menu; 197 197 } … … 200 200 { 201 201 QMenu* menu = createContextMenu(page(), event->pos()); 202 menu->exec( mapToGlobal(event->pos()));202 menu->exec(event->globalPos()); 203 203 delete menu; 204 204 }
Note: See TracChangeset
for help on using the changeset viewer.