From 2e95a0338f40a820ea592802357e985cfcbdb388 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 30 Dec 2011 23:40:14 -0600 Subject: Update comment --- kio/kio/kfileitem.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'kio') 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; -- cgit v1.2.1