Review Request: Append ".desktop" to generated link files to prevent them from being identified as something else

Dawit Alemayehu adawit at kde.org
Wed Jan 18 18:26:56 GMT 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103691/
-----------------------------------------------------------

(Updated Jan. 18, 2012, 6:26 p.m.)


Review request for kdelibs and David Faure.


Changes
-------

Use KMimeType::findByNameAndContent as suggested by David.


Description
-------

The attached patch prevents a user generated link file, e.g. link to URL location, from being identified as something else. For examples, see the bug reported linked to this review request.


This addresses bug 224142.
    http://bugs.kde.org/show_bug.cgi?id=224142


Diffs (updated)
-----

  kfile/knewfilemenu.cpp fbb0e48 

Diff: http://git.reviewboard.kde.org/r/103691/diff/diff


Testing
-------

Generate a link file to a URL location and see what KDE identifies the file as.


Thanks,

Dawit Alemayehu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120118/46682e1e/attachment.htm>


More information about the kde-core-devel mailing list