Bug 40662 - [Qt] Avoid truncation of zoom factor in QWebFrame's print function.
Summary: [Qt] Avoid truncation of zoom factor in QWebFrame's print function.
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Normal
Assignee: Nobody
Depends on:
Reported: 2010-06-16 02:11 PDT by mirko
Modified: 2011-04-19 05:15 PDT (History)
2 users (show)

See Also:

Proposed patch. (1.32 KB, patch)
2010-06-16 02:26 PDT, mirko
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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