diff --git a/sleepyhead/daily.cpp b/sleepyhead/daily.cpp index 5300b3e6..1fdab7e8 100644 --- a/sleepyhead/daily.cpp +++ b/sleepyhead/daily.cpp @@ -1232,7 +1232,8 @@ void Daily::Load(QDate date) html+=QString("%5%6%7%3%2") .arg((*s)->session()) .arg(tooltip) - .arg(QString().sprintf("%ih %im %is",h,m,s1)) + .arg(QString("%1h %2m %3s").arg(h,2,10,QChar('0')).arg(m,2,10,QChar('0')).arg(s1,2,10,QChar('0'))) + //sprintf("%ih %im %is",h,m,s1)) .arg((b ? "on" : "off")) .arg(fd.date().toString(Qt::SystemLocaleShortDate)) .arg(fd.toString("HH:mm"))