mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-09-04 06:07:49 -04:00
FrequencyTracker: refactoring of classes more fixes
This commit is contained in:
parent
5eff8ef3a3
commit
85304534ca
@ -113,8 +113,10 @@ bool FreqTrackerGUI::handleMessage(const Message& message)
|
|||||||
}
|
}
|
||||||
const FreqTrackerReport::MsgNotificationToGUI& cfg = (FreqTrackerReport::MsgNotificationToGUI&) message;
|
const FreqTrackerReport::MsgNotificationToGUI& cfg = (FreqTrackerReport::MsgNotificationToGUI&) message;
|
||||||
m_channelSampleRate = cfg.getSinkSampleRate();
|
m_channelSampleRate = cfg.getSinkSampleRate();
|
||||||
|
m_settings.m_inputFrequencyOffset = cfg.getSinkFrequencyOffset();
|
||||||
ui->channelSampleRateText->setText(tr("%1k").arg(QString::number(m_channelSampleRate / 1000.0f, 'g', 5)));
|
ui->channelSampleRateText->setText(tr("%1k").arg(QString::number(m_channelSampleRate / 1000.0f, 'g', 5)));
|
||||||
blockApplySettings(true);
|
blockApplySettings(true);
|
||||||
|
m_channelMarker.setCenterFrequency(m_settings.m_inputFrequencyOffset);
|
||||||
ui->deltaFrequency->setValue(m_settings.m_inputFrequencyOffset);
|
ui->deltaFrequency->setValue(m_settings.m_inputFrequencyOffset);
|
||||||
blockApplySettings(false);
|
blockApplySettings(false);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user