]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/kitemviews/kfileitemmodelrolesupdater.cpp
"Grouped sorting" defaults to true. Grouping is still disabled by default because...
[dolphin.git] / src / kitemviews / kfileitemmodelrolesupdater.cpp
index 0012e99c1c2f1c5bea81426ff65a630e9d3215d7..3828f0979cbb98576dbcc7a67015fe01c8dfd3b8 100644 (file)
@@ -1218,7 +1218,6 @@ void KFileItemModelRolesUpdater::applySortRole(int index)
     QHash<QByteArray, QVariant> data;
     const KFileItem item = m_model->fileItem(index);
 
-    // Despite the name, this handles both sorting and grouping, as they happen at the same time (resorting items).
     if (m_model->sortRole() == "type" || m_model->groupRole() == "type") {
         if (!item.isMimeTypeKnown()) {
             item.determineMimeType();