OSDN Git Service
(root)
/
lamexp
/
LameXP.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c37d857
)
Updated for recent change in MUtils library.
author
LoRd_MuldeR
<mulder2@gmx.de>
Sat, 7 Apr 2018 19:15:29 +0000
(21:15 +0200)
committer
LoRd_MuldeR
<mulder2@gmx.de>
Sat, 7 Apr 2018 19:15:29 +0000
(21:15 +0200)
src/Model_CueSheet.cpp
patch
|
blob
|
history
diff --git
a/src/Model_CueSheet.cpp
b/src/Model_CueSheet.cpp
index
8ca6af2
..
3ba5089
100644
(file)
--- 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<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");