[Webkit-unassigned] [Bug 33614] [Qt] Missing fileSystemPath() method in Qt KURL implementation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 14 07:17:17 PST 2010


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





--- Comment #9 from Antonio Gomes (tonikitoo) <tonikitoo at webkit.org>  2010-01-14 07:17:16 PST ---
(In reply to comment #8)
> (From update of attachment 46558 [details])
> Shouldn't you somehow verify that m_string is a file path, like comparing
> url.scheme() (or what it is called in KURL) with "file"

hum, diego , kenneth , does not isValid take care of this?

> 
> >  
> >  String KURL::fileSystemPath() const
> >  {
> > -    notImplemented();
> > +    if (m_string.isEmpty())
> > +        return String();
> > +
> > +    QUrl url = QUrl(m_string);
> > +    if (url.isValid())
> > +        return String(url.path());
> > +
> >      return 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