[Webkit-unassigned] [Bug 74074] [Qt] Visualize mock points in the Qt MiniBrowser
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 8 09:11:12 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=74074
Tor Arne Vestbø <vestbo at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #118393|review? |review-
Flag| |
--- Comment #9 from Tor Arne Vestbø <vestbo at webkit.org> 2011-12-08 09:11:12 PST ---
(From update of attachment 118393)
View in context: https://bugs.webkit.org/attachment.cgi?id=118393&action=review
> Tools/MiniBrowser/qt/BrowserWindow.cpp:92
> + bool pressed = touchPoint.state != Qt::TouchPointReleased;
> + QPointF position = touchPoint.area.topLeft();
> + position.rx() -= geometry().x();
> + position.ry() -= geometry().y();
Move this down to where you set it, and remove the pressed-variable, you can set the property directly based on touchPoint.state != Qt::TouchPointReleased
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list