summaryrefslogtreecommitdiffstats
path: root/src/cuesheeteditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cuesheeteditor.cpp')
-rw-r--r--src/cuesheeteditor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cuesheeteditor.cpp b/src/cuesheeteditor.cpp
index 9fcb9a3..8d83106 100644
--- a/src/cuesheeteditor.cpp
+++ b/src/cuesheeteditor.cpp
@@ -140,7 +140,7 @@ void CuesheetEditor::generate()
if( index == -1 )
break;
time = text.left( index );
- sscanf( time, "%i:%i", &min, &sec );
+ sscanf( time.local8Bit().data(), "%i:%i", &min, &sec );
timeList.append( min * 60 + sec );
text.remove( 0, index + 2 );
}
@@ -323,3 +323,5 @@ void CuesheetEditor::shift() //replace title by performer and reverse
tTextEdit->setText(newText);
}
*/
+
+#include "cuesheeteditor.moc"