mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-14 23:43:43 -04:00
Avoid global QString init in plugins
This workarounds issue with LTO with GCC #716
This commit is contained in:
@@ -86,8 +86,8 @@ public:
|
||||
virtual void destroy() { delete this; }
|
||||
virtual bool handleMessage(const Message& cmd);
|
||||
|
||||
virtual const QString& getURI() const { return m_featureIdURI; }
|
||||
virtual void getIdentifier(QString& id) const { id = m_featureId; }
|
||||
virtual const QString& getURI() const { return getName(); }
|
||||
virtual void getIdentifier(QString& id) const { id = objectName(); }
|
||||
virtual void getTitle(QString& title) const { title = m_settings.m_title; }
|
||||
|
||||
virtual QByteArray serialize() const;
|
||||
@@ -116,8 +116,8 @@ public:
|
||||
const QStringList& featureSettingsKeys,
|
||||
SWGSDRangel::SWGFeatureSettings& response);
|
||||
|
||||
static const QString m_featureIdURI;
|
||||
static const QString m_featureId;
|
||||
static const char* const m_featureIdURI;
|
||||
static const char* const m_featureId;
|
||||
|
||||
private:
|
||||
QThread m_thread;
|
||||
|
||||
Reference in New Issue
Block a user