diff options
-rw-r--r-- | cuesheet.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cuesheet.cpp b/cuesheet.cpp index c023ca0..5793206 100644 --- a/cuesheet.cpp +++ b/cuesheet.cpp @@ -43,7 +43,7 @@ CueSheet::CueSheet(const QString& filename) { QString s; line >> n >> s; QStringList l = s.split(':'); - index = l[0].toInt() * 60 * 100 + l[1].toInt() * 100 + l[2].toInt(); + index = l[0].toInt() * 60 * 1000 + l[1].toInt() * 1000 + l[2].toInt() * 1000 / 75; } } if(track) { @@ -53,6 +53,7 @@ CueSheet::CueSheet(const QString& filename) { album_artist = artist; album_name = name; } + f.close(); } const QString& CueSheet::artist() const { |