D24865: [SystemTray] Support for AttentionIcon

Konrad Materka noreply at phabricator.kde.org
Tue Oct 22 20:13:17 BST 2019


kmaterka added inline comments.

INLINE COMMENTS

> StatusNotifierItem.qml:52
> +            if (taskIcon.status === PlasmaCore.Types.NeedsAttentionStatus) {
> +                if (AttentionIcon && AttentionIcon != "QVariant(QIcon, QIcon(null))") {
> +                    return AttentionIcon

I know... Do you know another way how to check if QVariant(QIcon) is null? I know that I can create simple native method in systemtray.cpp for that - will it be better?

REPOSITORY
  R120 Plasma Workspace

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D24865

To: kmaterka, #plasma, broulik, #plasma_workspaces
Cc: lbeltrame, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20191022/43ee797c/attachment.html>


More information about the Plasma-devel mailing list