summaryrefslogtreecommitdiff
path: root/widgets/fastplot.cpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2019-06-02 22:17:11 +0200
committerChristoph Berg <myon@debian.org>2019-06-02 22:17:11 +0200
commit851b658298afb9bafeda98ffbfa2ade612c656be (patch)
tree826d54e9dac4ce15fdd1b6af3360eeba7993a7d2 /widgets/fastplot.cpp
parentb7238399ea4f1ca51d8f7b8f9220af3da0913edf (diff)
New upstream version 2.1.0~rc6+repackupstream/2.1.0_rc6+repack
Diffstat (limited to 'widgets/fastplot.cpp')
-rw-r--r--widgets/fastplot.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/fastplot.cpp b/widgets/fastplot.cpp
index 1437834d..a388f0ac 100644
--- a/widgets/fastplot.cpp
+++ b/widgets/fastplot.cpp
@@ -135,11 +135,11 @@ void FPlotter::setGreenZero(int n)
m_bPaint2=true;
}
-void FPlotter::setTRperiod(int n)
+void FPlotter::setTRperiod(double p)
{
- m_TRperiod=n;
+ m_TRperiod=p;
m_pixPerSecond=12000.0/512.0;
- if(m_TRperiod<30) m_pixPerSecond=12000.0/256.0;
+ if(m_TRperiod<30.0) m_pixPerSecond=12000.0/256.0;
drawScale();
update();
}