From 2a75eca8695d5c76c40c29dc9c3f171ebf4a2f25 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Sat, 22 Aug 2020 00:50:05 +0200 Subject: [PATCH] Reload remote commands model when commands change Most of that was already in place, just one signal wasn't wired correctly. --- plugins/remotecommands/remotecommandsplugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/remotecommands/remotecommandsplugin.h b/plugins/remotecommands/remotecommandsplugin.h index 5abac125..fe5f2da6 100644 --- a/plugins/remotecommands/remotecommandsplugin.h +++ b/plugins/remotecommands/remotecommandsplugin.h @@ -37,7 +37,7 @@ public: QString dbusPath() const override; Q_SIGNALS: - void commandsChanged(const QByteArray& commands); + Q_SCRIPTABLE void commandsChanged(const QByteArray& commands); private: void setCommands(const QByteArray& commands); -- GitLab