diff --git a/Configuration.cpp b/Configuration.cpp index 45e3b98..5f7e239 100644 --- a/Configuration.cpp +++ b/Configuration.cpp @@ -1650,7 +1650,7 @@ void Configuration::impl::read_settings () quick_call_ = settings_->value ("QuickCall", false).toBool (); disable_TX_on_73_ = settings_->value ("73TxDisable", false).toBool (); beacon_ = settings_->value ("TxBeacon", 30).toInt (); - watchdog_ = settings_->value ("TxWatchdog", 0).toInt (); + watchdog_ = settings_->value ("TxIdleWatchdog", 60).toInt (); if(watchdog_){ watchdog_ = qMax(5, watchdog_); } @@ -1783,7 +1783,7 @@ void Configuration::impl::write_settings () settings_->setValue ("QuickCall", quick_call_); settings_->setValue ("73TxDisable", disable_TX_on_73_); settings_->setValue ("TxBeacon", beacon_); - settings_->setValue ("TxWatchdog", watchdog_); + settings_->setValue ("TxIdleWatchdog", watchdog_); settings_->setValue ("Tx2QSO", TX_messages_); settings_->setValue ("CATForceDTR", rig_params_.force_dtr); settings_->setValue ("DTR", rig_params_.dtr_high); diff --git a/Configuration.ui b/Configuration.ui index f550ecf..a73084f 100644 --- a/Configuration.ui +++ b/Configuration.ui @@ -457,7 +457,7 @@ - 10 + 5 1440 @@ -466,7 +466,7 @@ 1 - 30 + 15 @@ -498,6 +498,9 @@ + + 0 + 1440 @@ -505,7 +508,7 @@ 1 - 0 + 60 @@ -3616,11 +3619,11 @@ soundcard changes - - + + diff --git a/mainwindow.cpp b/mainwindow.cpp index 3893f49..a10eea8 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -10118,6 +10118,9 @@ void MainWindow::tx_watchdog (bool triggered) void MainWindow::update_watchdog_label () { + watchdog_label.setVisible (false); + +#if 0 if (m_config.watchdog () && !m_mode.startsWith ("WSPR")) { watchdog_label.setText (QString {"WD:%1m"}.arg (m_config.watchdog () - m_idleMinutes)); @@ -10128,6 +10131,7 @@ void MainWindow::update_watchdog_label () watchdog_label.setText (QString {}); watchdog_label.setVisible (false); } +#endif } void MainWindow::on_cbMenus_toggled(bool b)