mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-23 00:18:37 -05:00
Fix crash when sat specific AOS command specified. Fixes #1425
This commit is contained in:
parent
ea24077e2b
commit
996cb07eb6
@ -656,9 +656,9 @@ void SatelliteTrackerWorker::applyDeviceAOSSettings(const QString& name)
|
|||||||
{
|
{
|
||||||
qDebug() << "SatelliteTrackerWorker::aos: executing command: " << devSettings->m_aosCommand;
|
qDebug() << "SatelliteTrackerWorker::aos: executing command: " << devSettings->m_aosCommand;
|
||||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
|
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
|
||||||
QStringList allArgs = m_settings.m_aosCommand.split(" ", Qt::SkipEmptyParts);
|
QStringList allArgs = devSettings->m_aosCommand.split(" ", Qt::SkipEmptyParts);
|
||||||
#else
|
#else
|
||||||
QStringList allArgs = m_settings.m_aosCommand.split(" ", QString::SkipEmptyParts);
|
QStringList allArgs = devSettings->m_aosCommand.split(" ", QString::SkipEmptyParts);
|
||||||
#endif
|
#endif
|
||||||
QString program = allArgs[0];
|
QString program = allArgs[0];
|
||||||
allArgs.pop_front();
|
allArgs.pop_front();
|
||||||
|
Loading…
Reference in New Issue
Block a user