Skip to content

applets/notifications: Be explicit about "when" binding on notificationAction

Kai Uwe Broulik requested to merge work/kbroulik/explicit-when into master
  • applets/notifications: Be explicit about "when" binding on notificationAction

It seems in Qt 5.15.13 this silently fails to cast to bool, whereas this code has been like this since forever. It used to work fine on Qt 5.15.2 and also works fine on Qt 6.8.


@davidedmundson

Noticed that in Kubuntu 24.04 with Qt 5.15.13 it doesn’t work for some reason. But it has always worked on my laptop, so I assume it’s some Qt 5.15.2+n thing. It works on Qt 6.8, so I don’t think we really need to investigate much.

Fixes the “Open” button not showing the app name when a download finishes.

(This change is mostly so I can backport this to 5.27)

Edited by Kai Uwe Broulik

Merge request reports

Loading