if the applet has failed, then don't return actions for it
This commit is contained in:
parent
691f590664
commit
7497948a2b
@ -223,6 +223,9 @@ QList<QAction*> AppletInterface::contextualActions() const
|
||||
{
|
||||
QList<QAction*> actions;
|
||||
Plasma::Applet *a = applet();
|
||||
if (a->hasFailedToLaunch()) {
|
||||
return actions;
|
||||
}
|
||||
|
||||
foreach (const QString &name, m_actions) {
|
||||
QAction *action = a->action(name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user