Bug 40662

Summary: [Qt] Avoid truncation of zoom factor in QWebFrame's print function.
Product: WebKit Reporter: mirko
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: CLOSED FIXED    
Severity: Normal CC: commit-queue, hausmann
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Proposed patch. none

Description mirko 2010-06-16 02:11:52 PDT
The zoom factor is a qreal number but its value is truncated to an integer. So a cast to qreal is needed to avoid this issue.
Comment 1 mirko 2010-06-16 02:26:05 PDT
Created attachment 58866 [details]
Proposed patch.
Comment 2 WebKit Commit Bot 2010-06-19 01:45:13 PDT
Comment on attachment 58866 [details]
Proposed patch.

Clearing flags on attachment: 58866

Committed r61472: <http://trac.webkit.org/changeset/61472>
Comment 3 WebKit Commit Bot 2010-06-19 01:45:18 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Simon Hausmann 2010-06-19 08:55:02 PDT
Revision r61472 cherry-picked into qtwebkit-2.0 with commit 9a60ada0538b8baf4a44b747b267e3cc7f30801c