Commit 4446d687 authored by Méven Car's avatar Méven Car
Browse files

Revert "Kicker/RecentDocuments Avoid referring to hidden places"

This reverts commit aa259e38.
parent aa259e38
......@@ -260,7 +260,7 @@ QVariant RecentUsageModel::docData(const QString &resource, int role) const
if (role == Qt::DisplayRole) {
const auto index = m_placesModel->closestItem(fileItem.url());
if (index.isValid() && !m_placesModel->isHidden(index)) {
if (index.isValid()) {
const auto parentUrl = m_placesModel->url(index);
if (parentUrl == fileItem.url()) {
return m_placesModel->text(index);
......
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