[Kde-pim] QgpgME
David Faure
faure at kde.org
Mon Nov 2 18:51:54 GMT 2009
On Friday 02 October 2009, Matthias Fuchs wrote:
> boost::shared_ptr<QFile> qFile(new QFile(fileUrl.pathOrUrl()));
This should be fileUrl.toLocalFile() btw, with a previous check like
if (!fileUrl.isLocalFile())
return;
(otherwise for ftp://ftp.kde.org/etc/password you'll open /etc/password
locally; taking a random file name as example ;) )
--
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror
(http://www.konqueror.org).
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list