summaryrefslogtreecommitdiffstats
path: root/kio
diff options
context:
space:
mode:
Diffstat (limited to 'kio')
-rw-r--r--kio/kio/kfileitem.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/kio/kio/kfileitem.cpp b/kio/kio/kfileitem.cpp
index eaedf0a2d..839c38a68 100644
--- a/kio/kio/kfileitem.cpp
+++ b/kio/kio/kfileitem.cpp
@@ -742,10 +742,11 @@ TQPixmap KFileItem::pixmap( int _size, int _state ) const
kdWarning() << "Pixmap not found for mimetype " << m_pMimeType->name() << endl;
if ( mime->name() == "application/x-executable" ) {
- // FIXME
- // Look for .desktop files for this executable
- // before resorting to the embedded icon
- // (look at how the minicli does it)
+ // At first glance it might seem to be a good idea to
+ // look for .desktop files for this executable before resorting to the embedded icon
+ // in the same fashion as the minicli, but on close examination this is NOT A GOOD IDEA.
+ // Specifically it allows one executable to mimic another purely based on filename,
+ // which could at certain times fool any user regardless of experience level.
#ifdef HAVE_ELFICON
// Check for an embedded icon
unsigned int icon_size;