From c742efc8666f486c84e6fe8fe1a51820e88eacc5 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Thu, 29 Sep 2022 16:51:08 +0100 Subject: [PATCH] ADSB: Handle double quoted arguments in commands --- plugins/channelrx/demodadsb/adsbdemodgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/channelrx/demodadsb/adsbdemodgui.cpp b/plugins/channelrx/demodadsb/adsbdemodgui.cpp index eb8d07da2..ff9a4a9ad 100644 --- a/plugins/channelrx/demodadsb/adsbdemodgui.cpp +++ b/plugins/channelrx/demodadsb/adsbdemodgui.cpp @@ -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) {