[Notifications KCM] Try both model indices
ClosedPublic

Authored by broulik on May 27 2019, 6:53 PM.

Details

Summary

We prefer applicatons over services, however, when configuring a KDE application we get passed both an application and a service. That application might be NoDisplay and then we end up not finding an index and event configuration files.

Test Plan

5.16 branch

I can now configure KDE Connect notifications by clicking the configure icon on the notification.

Diff Detail

Repository
R119 Plasma Desktop
Lint
Lint Skipped
Unit
Unit Tests Skipped
broulik created this revision.May 27 2019, 6:53 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMay 27 2019, 6:53 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.May 27 2019, 6:53 PM

Works for me
+1

davidedmundson accepted this revision.May 27 2019, 8:27 PM
This revision is now accepted and ready to land.May 27 2019, 8:27 PM
This revision was automatically updated to reflect the committed changes.