Bug 30820 - [Qt] CursorQt.cpp is not setting a hotspot for cursors loaded from image files
Summary: [Qt] CursorQt.cpp is not setting a hotspot for cursors loaded from image files
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt
Depends on:
Blocks:
 
Reported: 2009-10-27 06:38 PDT by Holger Freyther
Modified: 2009-10-28 03:36 PDT (History)
0 users

See Also:


Attachments
Use QCursor(QPixmap, int, int) to set the hotspot (3.34 KB, patch)
2009-10-27 06:39 PDT, Holger Freyther
eric: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Freyther 2009-10-27 06:38:43 PDT
CursorQt.cpp is loading images for cursor types not supported by Qt. It does not set a hotspot though. This was pointed out on irc.
Comment 1 Holger Freyther 2009-10-27 06:39:54 PDT
Created attachment 41947 [details]
Use QCursor(QPixmap, int, int) to set the hotspot

Set the hotspot, the data was copied from mac/win.
Comment 2 Eric Seidel (no email) 2009-10-27 11:45:32 PDT
Comment on attachment 41947 [details]
Use QCursor(QPixmap, int, int) to set the hotspot

OK.  I'll trust you here.  They look sane.
Comment 3 Holger Freyther 2009-10-28 03:36:23 PDT
Thanks, landed in r50206.