Commit 72c6daa6 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Display only recent documents in Kickers "Recent Documents"

CCBUG: 420951
parent 88bd0b87
......@@ -517,7 +517,7 @@ void RecentUsageModel::refresh()
auto query = UsedResources
| (m_ordering == Recent ? RecentlyUsedFirst : HighScoredFirst)
| Agent::any()
| Type::any()
| (m_usage == OnlyDocs ? Type::files() : Type::any())
| Activity::current();
switch (m_usage) {
......
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