summaryrefslogtreecommitdiff
path: root/Transceiver/DXLabSuiteCommanderTransceiver.cpp
diff options
context:
space:
mode:
authortony mancill <tmancill@debian.org>2021-11-05 07:29:21 -0700
committertony mancill <tmancill@debian.org>2021-11-05 07:29:21 -0700
commit1edace145e0f3d21f4c0af297cce7bdb0d2b1426 (patch)
tree7aad9615e5937945c5d0e6cf1efd0e241e19a77b /Transceiver/DXLabSuiteCommanderTransceiver.cpp
parent60dc7584c96ab1e9abba8240f2b49d30f779e39c (diff)
parente05d4def60e25e7fed87ff67ce5a97df24fc945b (diff)
Update upstream source from tag 'upstream/2.5.2+repack'
Update to upstream version '2.5.2+repack' with Debian dir 69c53246b6235949536f1f1a04428b5440899e5b
Diffstat (limited to 'Transceiver/DXLabSuiteCommanderTransceiver.cpp')
-rw-r--r--Transceiver/DXLabSuiteCommanderTransceiver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Transceiver/DXLabSuiteCommanderTransceiver.cpp b/Transceiver/DXLabSuiteCommanderTransceiver.cpp
index 8f2063c7..2014c104 100644
--- a/Transceiver/DXLabSuiteCommanderTransceiver.cpp
+++ b/Transceiver/DXLabSuiteCommanderTransceiver.cpp
@@ -385,7 +385,7 @@ auto DXLabSuiteCommanderTransceiver::get_mode () -> MODE
void DXLabSuiteCommanderTransceiver::simple_command (QString const& cmd)
{
- Q_ASSERT (commander_);
+ if (!commander_) return;
CAT_TRACE (cmd);
@@ -398,7 +398,7 @@ void DXLabSuiteCommanderTransceiver::simple_command (QString const& cmd)
QString DXLabSuiteCommanderTransceiver::command_with_reply (QString const& cmd)
{
- Q_ASSERT (commander_);
+ if (!commander_) return QString {};
if (!write_to_port (cmd))
{