Skip to content

Commit

Permalink
Notification: Added Rig Notification Message (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
foldynl committed Dec 15, 2024
1 parent 4f19690 commit 1f7c90c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion core/NetworkNotification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ void NetworkNotification::rigStatus(const Rig::Status &status)

qCDebug(function_parameters) << "Rig Status";

HostsPortString destList(getNotifSpotAlertAddrs());
HostsPortString destList(getNotifRigStateAddrs());

if ( destList.getAddrList().size() > 0 )
{
Expand Down
10 changes: 5 additions & 5 deletions rig/Rig.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class Rig : public QObject
QString submode;
QString rawmode;
qint8 ptt = -1;
double power = -1.0;
int keySpeed = -1;
double power = 0.0;
quint16 keySpeed = 0;
QString vfo = "Curr";
double rit = 0.0;
double xit = 0.0;
Expand All @@ -54,9 +54,9 @@ class Rig : public QObject
submode.clear();
rawmode.clear();
ptt = -1;
power = -1.0;
keySpeed = -1;
vfo.clear();
power = 0.0;
keySpeed = 0;
vfo="Curr";
rit = 0.0;
xit = 0.0;
bandwidth = 0;
Expand Down
2 changes: 1 addition & 1 deletion ui/SettingsDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2455,7 +2455,7 @@ void SettingsDialog::writeSettings() {
NetworkNotification::saveNotifDXSpotAddrs(ui->notifDXSpotsEdit->text());
NetworkNotification::saveNotifWSJTXCQSpotAddrs(ui->notifWSJTXCQSpotsEdit->text());
NetworkNotification::saveNotifSpotAlertAddrs(ui->notifSpotAlertEdit->text());
NetworkNotification::saveNotifRigStateAddrs(ui->notifSpotAlertEdit->text());
NetworkNotification::saveNotifRigStateAddrs(ui->notifRigEdit->text());
}

/* this function is called when user modify rig progile
Expand Down
6 changes: 3 additions & 3 deletions ui/SettingsDialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -4360,6 +4360,9 @@
<tabstop>tqslPathEdit</tabstop>
<tabstop>tqslPathButton</tabstop>
<tabstop>qrzApiKeyEdit</tabstop>
<tabstop>dxccConfirmedByLotwCheckBox</tabstop>
<tabstop>dxccConfirmedByPaperCheckBox</tabstop>
<tabstop>dxccConfirmedByEqslCheckBox</tabstop>
<tabstop>bandTableView</tabstop>
<tabstop>modeTableView</tabstop>
<tabstop>wsjtForwardEdit</tabstop>
Expand All @@ -4375,9 +4378,6 @@
<tabstop>notifRigEdit</tabstop>
<tabstop>tabWidget</tabstop>
<tabstop>tabWidget_2</tabstop>
<tabstop>dxccConfirmedByLotwCheckBox</tabstop>
<tabstop>dxccConfirmedByPaperCheckBox</tabstop>
<tabstop>dxccConfirmedByEqslCheckBox</tabstop>
<tabstop>cwHostNameEdit</tabstop>
<tabstop>equipmentTabWidget</tabstop>
<tabstop>tabWidget_3</tabstop>
Expand Down

0 comments on commit 1f7c90c

Please sign in to comment.