diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-04 16:49:31 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-04 16:49:31 +0200 |
commit | e4fba677a9755a5aee1a0ea1513b6f737429d832 (patch) | |
tree | 956856d3635249a6d7af98934f7f14885f264818 /framework/actions/actionresult.h | |
parent | 8cfe1ed71dd342bfb625a94319f7b3d42709c8b0 (diff) | |
download | kube-e4fba677a9755a5aee1a0ea1513b6f737429d832.tar.gz kube-e4fba677a9755a5aee1a0ea1513b6f737429d832.zip |
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).
Diffstat (limited to 'framework/actions/actionresult.h')
-rw-r--r-- | framework/actions/actionresult.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/actions/actionresult.h b/framework/actions/actionresult.h index cdc6a160..e4d3efeb 100644 --- a/framework/actions/actionresult.h +++ b/framework/actions/actionresult.h | |||
@@ -64,3 +64,5 @@ private: | |||
64 | }; | 64 | }; |
65 | 65 | ||
66 | } | 66 | } |
67 | |||
68 | Q_DECLARE_METATYPE(Kube::ActionResult); | ||