diff --git a/plugins/feature/rigctlserver/rigctlserver.h b/plugins/feature/rigctlserver/rigctlserver.h index 03e813108..99d64e0a7 100644 --- a/plugins/feature/rigctlserver/rigctlserver.h +++ b/plugins/feature/rigctlserver/rigctlserver.h @@ -86,7 +86,7 @@ public: virtual void destroy() { delete this; } virtual bool handleMessage(const Message& cmd); - virtual void getIdentifier(QString& id) const { id = objectName(); } + virtual void getIdentifier(QString& id) const { id = m_featureId; } virtual void getTitle(QString& title) const { title = m_settings.m_title; } virtual QByteArray serialize() const; diff --git a/plugins/feature/simpleptt/simpleptt.h b/plugins/feature/simpleptt/simpleptt.h index 19dafc336..0e51cb9c1 100644 --- a/plugins/feature/simpleptt/simpleptt.h +++ b/plugins/feature/simpleptt/simpleptt.h @@ -104,7 +104,7 @@ public: virtual void destroy() { delete this; } virtual bool handleMessage(const Message& cmd); - virtual void getIdentifier(QString& id) const { id = objectName(); } + virtual void getIdentifier(QString& id) const { id = m_featureId; } virtual void getTitle(QString& title) const { title = m_settings.m_title; } virtual QByteArray serialize() const;