[Webkit-unassigned] [Bug 30621] Printing using other media types then "print"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 21 07:07:53 PDT 2009


--- Comment #3 from Jakob Truelsen <antialize at gmail.com>  2009-10-21 07:07:53 PDT ---
if I give d->printingMediaType a default value in the constructor, it will not
inherit a value set in globalSettings unless explicitly set to the empty
string.  While this is consistent with other current behaviour
(https://bugs.webkit.org/show_bug.cgi?id=30622) it is clearly not what one
wants.  The way QWebSettings currently work's putting default values into
variables is broken.  

The only solution I can think of to the problem would be to do
settings->setPrintingMediaType(type.isEmpty() ? "print" : type);

however then printingMediaType would still return the empty (null) string .

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