[PATCH]: correct urls in KRecentDocument

Aaron J. Seigo aseigo at kde.org
Wed Nov 14 23:28:24 GMT 2007


hi..

KRecentDocument stores the URL using writePathEntry. unfortunately, it then 
fetches it using KDesktopFile::readUrl(), which means that $HOME and other 
writePathEntry magic doesn't get process properly.

the attached patch fixes that.

p.s. while it might occur to a person that KDesktopFile::readUrl() should be 
changed similarly, there is a comment in the code expressely forbidding it =)

-- 
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 Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: krecentdocument.diff
Type: text/x-diff
Size: 974 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071114/0b30a7f1/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071114/0b30a7f1/attachment.sig>


More information about the kde-core-devel mailing list