Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 4f1091f1 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

[Kickoff] Use KFilePlacesModel groups

This groups entries in Places under the same categories (Places, Recently Saved,
Remote, Devices, etc) as in all other places where Places are shown

Differential Revision:
parent 1cdb7ae4
......@@ -234,11 +234,7 @@ QVariant ComputerModel::data(const QModelIndex &index, int role) const
} else if (role == Kicker::UrlRole) {
return m_filteredPlacesModel->url(sourceIndex);
} else if (role == Kicker::GroupRole) {
if (m_filteredPlacesModel->isDevice(sourceIndex)) {
return i18n("Removable Storage");
} else {
return i18n("Places");
} else if (role == Qt::DisplayRole || role == Qt::DecorationRole) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment