miklosm created this revision. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: kde-frameworks-devel. miklosm requested review of this revision.
REVISION SUMMARY KFileItem::determineMimeType() is an explicit order to thoroughly detect the file type, so the result of the previous detections must be ignored. The indentation should be fixed after the if block is removed, I just didn't want to complicate this patch. I also removed an unneeded const_cast. This is part of the fix for https://bugs.kde.org/show_bug.cgi?id=220496 REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D13315 AFFECTED FILES src/core/kfileitem.cpp To: miklosm Cc: kde-frameworks-devel, michaelh, ngraham, bruns