consider corona actions when evaluating shortcuts

Change-Id: Ic8ff309d6abac6bd85c4fb3c568a9c040f0fc93a
This commit is contained in:
Marco Martin 2015-04-16 18:38:23 +02:00
parent a5588aab9a
commit f248bfbfd1

View File

@ -654,6 +654,12 @@ bool AppletInterface::event(QEvent *event)
actions << wi->contextualActions();
}
}
//add any actions of the corona
if (applet()->containment() && applet()->containment()->corona()) {
actions << applet()->containment()->corona()->actions()->actions();
}
bool keySequenceUsed = false;
for (auto a : actions) {