From 14d488fe5765bc3c9ca30358f21a5766d3532352 Mon Sep 17 00:00:00 2001 From: Matthew Waltz Date: Tue, 29 Oct 2024 10:37:33 -0600 Subject: [PATCH] allow faster fps for visualizer widget --- gui/qt/visualizerwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/qt/visualizerwidget.cpp b/gui/qt/visualizerwidget.cpp index 9bbb4d217..10f458195 100644 --- a/gui/qt/visualizerwidget.cpp +++ b/gui/qt/visualizerwidget.cpp @@ -117,7 +117,7 @@ void VisualizerWidget::showConfig() { QCheckBox *gridChk = new QCheckBox(tr("Grid")); QPushButton *submitBtn = new QPushButton(tr("Submit")); - fpsSpin->setRange(0, 120); + fpsSpin->setRange(1, 1000); fpsSpin->setValue(m_fps); scaleSpin->setRange(0, 5000); @@ -268,7 +268,7 @@ void VisualizerWidget::stringToView() { if (fps_reg.match(str).hasMatch()) { str.chop(3); m_fps = str.toInt(); - if (m_fps < 1 || m_fps > 120) { m_fps = 30; } + if (m_fps < 1 || m_fps > 1000) { m_fps = 30; } } }