Updated for recent change in MUtils library.

This commit is contained in:
LoRd_MuldeR 2018-04-07 21:15:29 +02:00
parent c37d857604
commit fd84bc49c7

View File

@ -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<int>(seconds.intpart), static_cast<int>(seconds.fractpart * 1000.0));
return QString().sprintf("%02d:%02d.%03d", minutes, static_cast<int>(seconds.parts[0]), static_cast<int>(seconds.parts[1] * 1000.0));
}
return QString("99:99.999");