1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

Merge pull request #1426 from srcejon/fix_1425

Sat Tracker: Fix crash when sat specific AOS command specified.
This commit is contained in:
Edouard Griffiths 2022-09-19 22:27:38 +02:00 committed by GitHub
commit 487f46c8ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -656,9 +656,9 @@ void SatelliteTrackerWorker::applyDeviceAOSSettings(const QString& name)
{
qDebug() << "SatelliteTrackerWorker::aos: executing command: " << devSettings->m_aosCommand;
#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
QStringList allArgs = m_settings.m_aosCommand.split(" ", QString::SkipEmptyParts);
QStringList allArgs = devSettings->m_aosCommand.split(" ", QString::SkipEmptyParts);
#endif
QString program = allArgs[0];
allArgs.pop_front();