diff options
| author | Christoph Berg <myon@debian.org> | 2021-09-09 22:49:00 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2021-09-09 22:49:00 +0200 |
| commit | 85895feeaf88bcde26bbfc71e8f6b2047c0f5f41 (patch) | |
| tree | 79807e00771e4af4ce279e368262f2222806102f /Configuration.cpp | |
| parent | 2f095a04ed69d9aa14b47dc4acde6b3225b2d65e (diff) | |
New upstream version 2.5.0~rc6+repackupstream/2.5.0_rc6+repack
Diffstat (limited to 'Configuration.cpp')
| -rw-r--r-- | Configuration.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Configuration.cpp b/Configuration.cpp index 197018ad..66232d60 100644 --- a/Configuration.cpp +++ b/Configuration.cpp @@ -735,7 +735,7 @@ bool Configuration::monitor_last_used () const {return m_->rig_is_dummy_ || m_-> bool Configuration::log_as_RTTY () const {return m_->log_as_RTTY_;} bool Configuration::report_in_comments () const {return m_->report_in_comments_;} bool Configuration::prompt_to_log () const {return m_->prompt_to_log_;} -bool Configuration::autoLog() const {return m_->autoLog_;} +bool Configuration::autoLog() const {return m_->autoLog_ && m_->bSpecialOp_;} bool Configuration::decodes_from_top () const {return m_->decodes_from_top_;} bool Configuration::insert_blank () const {return m_->insert_blank_;} bool Configuration::DXCC () const {return m_->DXCC_;} @@ -2735,6 +2735,7 @@ bool Configuration::impl::open_rig (bool force) ui_->test_CAT_push_button->setStyleSheet ({}); rig_active_ = true; + LOG_TRACE ("emitting startup_transceiver"); Q_EMIT start_transceiver (++transceiver_command_number_); // start rig on its thread result = true; } @@ -2782,6 +2783,7 @@ void Configuration::impl::transceiver_frequency (Frequency f) cached_rig_state_.frequency (apply_calibration (f + current_offset_)); // qDebug () << "Configuration::impl::transceiver_frequency: n:" << transceiver_command_number_ + 1 << "f:" << f; + LOG_TRACE ("emitting set_transceiver: requested state:" << cached_rig_state_); Q_EMIT set_transceiver (cached_rig_state_, ++transceiver_command_number_); } @@ -2808,6 +2810,7 @@ void Configuration::impl::transceiver_tx_frequency (Frequency f) } // qDebug () << "Configuration::impl::transceiver_tx_frequency: n:" << transceiver_command_number_ + 1 << "f:" << f; + LOG_TRACE ("emitting set_transceiver: requested state:" << cached_rig_state_); Q_EMIT set_transceiver (cached_rig_state_, ++transceiver_command_number_); } } @@ -2817,6 +2820,7 @@ void Configuration::impl::transceiver_mode (MODE m) cached_rig_state_.online (true); // we want the rig online cached_rig_state_.mode (m); // qDebug () << "Configuration::impl::transceiver_mode: n:" << transceiver_command_number_ + 1 << "m:" << m; + LOG_TRACE ("emitting set_transceiver: requested state:" << cached_rig_state_); Q_EMIT set_transceiver (cached_rig_state_, ++transceiver_command_number_); } @@ -2826,6 +2830,7 @@ void Configuration::impl::transceiver_ptt (bool on) set_cached_mode (); cached_rig_state_.ptt (on); // qDebug () << "Configuration::impl::transceiver_ptt: n:" << transceiver_command_number_ + 1 << "on:" << on; + LOG_TRACE ("emitting set_transceiver: requested state:" << cached_rig_state_); Q_EMIT set_transceiver (cached_rig_state_, ++transceiver_command_number_); } @@ -2909,6 +2914,7 @@ void Configuration::impl::close_rig () if (rig_active_) { ui_->test_CAT_push_button->setStyleSheet ("QPushButton {background-color: red;}"); + LOG_TRACE ("emitting stop_transceiver"); Q_EMIT stop_transceiver (); for (auto const& connection: rig_connections_) { |
