1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-25 03:24:18 -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
@@ -40,8 +40,8 @@ const PluginDescriptor SoapySDROutputPlugin::m_pluginDescriptor = {
QStringLiteral("https://github.com/f4exb/sdrangel")
};
const QString SoapySDROutputPlugin::m_hardwareID = "SoapySDR";
const QString SoapySDROutputPlugin::m_deviceTypeID = SOAPYSDROUTPUT_DEVICE_TYPE_ID;
static constexpr const char* const m_hardwareID = "SoapySDR";
static constexpr const char* const m_deviceTypeID = SOAPYSDROUTPUT_DEVICE_TYPE_ID;
SoapySDROutputPlugin::SoapySDROutputPlugin(QObject* parent) :
QObject(parent)