diff options
Diffstat (limited to 'src/jalv_qt.cpp')
-rw-r--r-- | src/jalv_qt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jalv_qt.cpp b/src/jalv_qt.cpp index 24b4ce6..8fd5495 100644 --- a/src/jalv_qt.cpp +++ b/src/jalv_qt.cpp @@ -712,7 +712,7 @@ jalv_frontend_open(Jalv* jalv) } auto* const timer = new Timer(jalv); - timer->start(1000 / jalv->ui_update_hz); + timer->start((int)(1000.0f / jalv->settings.ui_update_hz)); const int ret = app->exec(); zix_sem_post(&jalv->done); |