[Webkit-unassigned] [Bug 34902] [Qt] Added methods to QWebFrame for setting and consulting the CSS2 media type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 18 10:56:30 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34902





--- Comment #4 from Simon Hausmann <hausmann at webkit.org>  2010-02-18 10:56:30 PST ---
(From update of attachment 48656)

> @@ -1439,6 +1466,9 @@ void QWebFrame::print(QPrinter *printer) const
>      }
>  
>      printContext.end();
> +
> +    QWebFrame* that = const_cast<QWebFrame*>(this);
> +    that->setMediaType(currentMediaType);
>  }
>  #endif // QT_NO_PRINTER

Wouldn't it be nicer if the media type was preserved in Frame::setPrinting?

-- 
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