summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-10-29 22:45:21 +0000
committerDave Hibberd <hibby@debian.org>2024-10-29 22:45:21 +0000
commitd0709a1e0a04bf74f240dc0fdb8697f030b68cea (patch)
tree93074377abcd3abd699660485d4ecf350f480b72 /main.cpp
parentb1d1488de60dfff8b89872f863098a884133852f (diff)
New upstream version 0.0.0.73~rc1upstream/0.0.0.73_rc1
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index a3b08d4..63391fd 100644
--- a/main.cpp
+++ b/main.cpp
@@ -33,15 +33,18 @@ extern void saveSettings();
extern int Closing;
workerThread *t;
+serialThread *serial;
mynet m1;
QCoreApplication * a;
QtSoundModem * w;
+
int main(int argc, char *argv[])
{
char Title[128];
+ QString Response;
if (argc > 1 && strcmp(argv[1], "nogui") == 0)
nonGUIMode = 1;
@@ -78,6 +81,7 @@ int main(int argc, char *argv[])
QObject::connect(&m1, SIGNAL(HLSetPTT(int)), &m1, SLOT(doHLSetPTT(int)), Qt::QueuedConnection);
QObject::connect(&m1, SIGNAL(FLRigSetPTT(int)), &m1, SLOT(doFLRigSetPTT(int)), Qt::QueuedConnection);
+ QObject::connect(&m1, SIGNAL(mgmtSetPTT(int, int)), &m1, SLOT(domgmtSetPTT(int, int)), Qt::QueuedConnection);
QObject::connect(&m1, SIGNAL(startTimer(int)), &m1, SLOT(dostartTimer(int)), Qt::QueuedConnection);