Skip to content

applets/kicker: Fix types on metaobject call to addLauncher

Ismael Asensio requested to merge work/iasensio/kicker-actions-args into master

Reason for the change

Some calls via QMetaObject::InvokeMethod() requires an stricter type now, instead of the generic QVariant, because the functions in task manager's QML code have been type-annotated.

Test plan

Try to pin an item to the task manager using kickoff context menu

Bugs fixed

This fixes the action of pinning an item to the task manager

BUG: 492230
FIXED-IN: 6.2

Note

TIL this happens, but it is something we should be careful of when annotating QML from now on.
For instance, the "Desktop" part still requires a QVariant because it still lacks annotations

Merge request reports