Reload remote commands model when commands change

Most of that was already in place, just one signal wasn't wired correctly.

(cherry picked from commit 2a75eca869)
This commit is contained in:
Nicolas Fella 2020-08-22 00:50:05 +02:00
parent 17ea9a49d4
commit 2be7b3eff1

View file

@ -51,7 +51,7 @@ public:
QString dbusPath() const override; QString dbusPath() const override;
Q_SIGNALS: Q_SIGNALS:
void commandsChanged(const QByteArray& commands); Q_SCRIPTABLE void commandsChanged(const QByteArray& commands);
private: private:
void setCommands(const QByteArray& commands); void setCommands(const QByteArray& commands);