summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-09-25 16:01:33 +0200
committerJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2020-09-25 16:07:22 +0200
commitc646196b343aa29f0171d2600c90287cc5ddeee1 (patch)
treee104d9762379f95f5d529231e38904924b769b73
parentb61e63444f7a01e9b902157b642d53e7e893f83d (diff)
library/autodj/dlgautodj: Add missing typecast for spinbox value
-rw-r--r--src/library/autodj/dlgautodj.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/autodj/dlgautodj.cpp b/src/library/autodj/dlgautodj.cpp
index b80465998b..cea92beec2 100644
--- a/src/library/autodj/dlgautodj.cpp
+++ b/src/library/autodj/dlgautodj.cpp
@@ -190,7 +190,7 @@ DlgAutoDJ::DlgAutoDJ(
// Setup DlgAutoDJ UI based on the current AutoDJProcessor state. Keep in
// mind that AutoDJ may already be active when DlgAutoDJ is created (due to
// skin changes, etc.).
- spinBoxTransition->setValue(m_pAutoDJProcessor->getTransitionTime());
+ spinBoxTransition->setValue(static_cast<int>(m_pAutoDJProcessor->getTransitionTime()));
connect(m_pAutoDJProcessor,
&AutoDJProcessor::transitionTimeChanged,
this,