mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Add a TODO KF6 to solve bug 464722
CCBUG: 464722
This commit is contained in:
parent
c3fb0dc15b
commit
629a5d44dd
|
@ -1829,6 +1829,7 @@ QHash<QByteArray, QVariant> KFileItemModel::retrieveData(const KFileItem &item,
|
|||
}
|
||||
|
||||
if (m_requestRole[ExtensionRole] && !isDir) {
|
||||
// TODO KF6 use KFileItem::suffix 464722
|
||||
data.insert(sharedValue("extension"), QFileInfo(item.name()).suffix());
|
||||
}
|
||||
|
||||
|
|
|
@ -1304,6 +1304,7 @@ QHash<QByteArray, QVariant> KFileItemModelRolesUpdater::rolesData(const KFileIte
|
|||
}
|
||||
|
||||
if (m_roles.contains("extension")) {
|
||||
// TODO KF6 use KFileItem::suffix 464722
|
||||
data.insert("extension", QFileInfo(item.name()).suffix());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue