Commit 269ff0c5 authored by Julius Künzel's avatar Julius Künzel 💬 Committed by Jean-Baptiste Mardelle
Browse files

better handling of seconds in import guides

parent 8e61cb9d
Pipeline #263570 failed with stage
in 14 minutes and 21 seconds
......@@ -742,7 +742,7 @@ bool MarkerListModel::importFromTxt(const QString &fileData, Fun &undo, Fun &red
case 2:
default: {
// assume hh:min:sec
QString sec = pos.section(QLatin1Char(':'), 2);
QString sec = pos.section(QLatin1Char(':'), 2, 2);
QString min = pos.section(QLatin1Char(':'), 1, 1);
QString hours = pos.section(QLatin1Char(':'), 0, 0);
double seconds = sec.toDouble(&ok);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment