core/desktopentry: watch for changes and rescan entries

This commit is contained in:
bbedward 2025-07-14 11:09:34 -04:00 committed by outfoxxed
parent 2115f31416
commit 996efc93b7
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E
6 changed files with 521 additions and 153 deletions

View file

@ -127,7 +127,7 @@ void Notification::updateProperties(
if (appIcon.isEmpty() && !this->bDesktopEntry.value().isEmpty()) {
if (auto* entry = DesktopEntryManager::instance()->byId(this->bDesktopEntry.value())) {
appIcon = entry->mIcon;
appIcon = entry->bIcon.value();
}
}