On November 10, 2009, Thiago Macieira wrote: > if package()->filePath() returns a URL, it should have file:// already. > > If it returns a file name, you should be using QUrl::fromLocalFile.
It returns a file name. It does not return a URL because the file is guaranteed to be local to thing (e.g. a plasmoid) using it. > File paths are not URLs. Do not mix them. Good point. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel