1
0
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:
Kacper Michajłow
2020-11-21 20:24:18 +01:00
parent cf70d9430f
commit f2d01b61d3
154 changed files with 302 additions and 411 deletions
+4 -4
View File
@@ -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;