On Wednesday 16 December 2015 12:27:28 Matthew Woehlke wrote: > Well, you mentioned toLocalFile, so I assume you already know that "trim > it" should actually use that. Also: > > if (uri.scheme() == "file")
Better: if (uri.isLocalFile()) QUrl caches internally whether the scheme() is "file", so there's no string comparison. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest