1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 01:39:05 -05:00

ADSB: Handle double quoted arguments in commands

This commit is contained in:
Jon Beniston 2022-09-29 16:51:08 +01:00
parent a237886005
commit c742efc866

View File

@ -3100,7 +3100,7 @@ void ADSBDemodGUI::speechNotification(Aircraft *aircraft, const QString &speech)
void ADSBDemodGUI::commandNotification(Aircraft *aircraft, const QString &command)
{
QString commandLine = subAircraftString(aircraft, command);
QStringList allArgs = commandLine.split(" ");
QStringList allArgs = QProcess::splitCommand(commandLine);
if (allArgs.size() > 0)
{