diff --git a/src/Model_CueSheet.cpp b/src/Model_CueSheet.cpp index 8ca6af22..3ba5089c 100644 --- a/src/Model_CueSheet.cpp +++ b/src/Model_CueSheet.cpp @@ -848,7 +848,7 @@ QString CueSheetModel::indexToString(const double index) const if(minutes < 100) { const MUtils::fp_parts_t seconds = MUtils::break_fp(fmod(index, 60.0)); - return QString().sprintf("%02d:%02d.%03d", minutes, static_cast(seconds.intpart), static_cast(seconds.fractpart * 1000.0)); + return QString().sprintf("%02d:%02d.%03d", minutes, static_cast(seconds.parts[0]), static_cast(seconds.parts[1] * 1000.0)); } return QString("99:99.999");