mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-02 13:17:49 -04:00
Remove another instance of the 1.27 kHz offset.
This commit is contained in:
parent
01df4a8c1e
commit
9d89042d44
@ -102,8 +102,7 @@ void CPlotter::paintEvent(QPaintEvent *) // paintEvent()
|
|||||||
painter.drawPixmap(target,m_ZoomScalePixmap,source);
|
painter.drawPixmap(target,m_ZoomScalePixmap,source);
|
||||||
|
|
||||||
float df=m_fSample/32768.0;
|
float df=m_fSample/32768.0;
|
||||||
int x0=16384 + (0.001*(m_ZoomStartFreq+m_fCal)+m_fQSO-m_nkhz+1.27046) * \
|
int x0=16384 + (0.001*(m_ZoomStartFreq+m_fCal)+m_fQSO-m_nkhz) * 1000.0/df + 0.5;
|
||||||
1000.0/df + 0.5;
|
|
||||||
|
|
||||||
QPainter painter1(&m_WaterfallPixmap);
|
QPainter painter1(&m_WaterfallPixmap);
|
||||||
QPainter painter2(&m_ZoomWaterfallPixmap);
|
QPainter painter2(&m_ZoomWaterfallPixmap);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user