Skip to content

Commit fcffbbc

Browse files
committed
core/desktopentry: lookup wm class in nodisplay entries
1 parent 759bd72 commit fcffbbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/desktopentry.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ DesktopEntry* DesktopEntryManager::byId(const QString& id) {
389389
DesktopEntry* DesktopEntryManager::heuristicLookup(const QString& name) {
390390
if (auto* entry = DesktopEntryManager::byId(name)) return entry;
391391

392-
auto& list = this->mApplications.valueList();
392+
auto list = this->desktopEntries.values();
393393

394394
auto iter = std::ranges::find_if(list, [&](const DesktopEntry* entry) {
395395
return name == entry->mStartupClass;

0 commit comments

Comments
 (0)