> > 
> >   if (uri.scheme() == "file")
> 
> Better:
>       if (uri.isLocalFile())
> 
> QUrl caches internally whether the scheme() is "file", so there's no string 
> comparison.


Thanks Thiago, that's good to know!
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to