[Webkit-unassigned] [Bug 51159] [Qt] Permit qrc resources to load in QWebSettings::setUserStyleSheetUrl()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 10 04:31:43 PDT 2011


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





--- Comment #12 from Robert Hogan <robert at webkit.org>  2011-09-10 04:31:43 PST ---
(In reply to comment #8)
> (From update of attachment 76727 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=76727&action=review
> 
> > WebCore/ChangeLog:10
> > +        Permit any url with a local scheme to set a user style sheet. Allow qrc
> > +        resource URLs as arguments to QWebSettings::setUserStyleSheetUrl().
> > +
> 
> I think a less intrusive way to do this would be to convert the qrc URL to a file URL in QWebSetttings::setUserStyleSheerUrl().

Out of curiosity why not this way? Seems odd to put a Qt'ism in KURL if there's an alternative in a Qt specific file.

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