Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 24246f52 authored by Michael Pyne's avatar Michael Pyne

Fix QActions in systray.

Turns out KStatusNotifierItem introduces its own ActionCollection and
its own corresponding action() method call, which SystemTray was calling
in preference to JuK's own ActionCollection::action() namespace fn.
parent 647e8ce5
......@@ -150,6 +150,8 @@ SystemTray::SystemTray(PlayerManager *player, QWidget *parent) :
m_fade(true),
m_hasCompositionManager(false)
{
using ActionCollection::action; // Override the KSNI::action call introduced in KF5
// This should be initialized to the number of labels that are used.
m_labels.fill(0, 3);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment