From e4fba677a9755a5aee1a0ea1513b6f737429d832 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 4 May 2016 16:49:31 +0200 Subject: Unbreak action execution from qml QML can't do with custom return types. (we'd have to wrap it in a QVariant or use a property). --- framework/actions/action.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'framework/actions/action.h') diff --git a/framework/actions/action.h b/framework/actions/action.h index 1ad4a47e..1abf4a5c 100644 --- a/framework/actions/action.h +++ b/framework/actions/action.h @@ -44,7 +44,8 @@ public: bool ready() const; - Q_INVOKABLE ActionResult execute(); + Q_INVOKABLE void execute(); + ActionResult executeWithResult(); Q_SIGNALS: void readyChanged(); -- cgit v1.2.3