Skip to content

Commit

Permalink
Fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
argilo committed Jun 18, 2023
1 parent 4603167 commit 09a8de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qtgui/plotter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ void CPlotter::zoomStepX(float step, int x)
}

// calculate new range shown on FFT
double new_range = qBound(10.0, m_Span * (double)step, m_SampleFreq * 10.0f);
double new_range = qBound(10.0, m_Span * (double)step, (double)m_SampleFreq * 10.0);

// Frequency where event occurred is kept fixed under mouse
double ratio = (double)x / (qreal)m_Size.width() / m_DPR;
Expand Down

0 comments on commit 09a8de5

Please sign in to comment.