summaryrefslogtreecommitdiff
path: root/mainwin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mainwin.cc')
-rw-r--r--mainwin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mainwin.cc b/mainwin.cc
index 2bfcf82..133fb5a 100644
--- a/mainwin.cc
+++ b/mainwin.cc
@@ -228,7 +228,7 @@ void MainWindow::updatedFps()
if (!fps_ok || fps <= 0) {
animate_timer->stop();
} else {
- animate_timer->setInterval(1000 / e_fps->text().toDouble());
+ animate_timer->setInterval(int(1000 / e_fps->text().toDouble()));
animate_timer->start();
}
}
contact: Jan Huwald // Impressum