diff --git a/sleepyhead/daily.cpp b/sleepyhead/daily.cpp
index 88dd1f15..5300b3e6 100644
--- a/sleepyhead/daily.cpp
+++ b/sleepyhead/daily.cpp
@@ -1229,10 +1229,10 @@ void Daily::Load(QDate date)
sess->settings[SESSION_ENABLED]=true;
}
bool b=sess->settings[SESSION_ENABLED].toBool();
- html+=QString("
 | %5 | %6 | %7 | %3%2 |
")
+ html+=QString(" | %5 | %6 | %7 | %3%2 |
")
.arg((*s)->session())
.arg(tooltip)
- .arg(QString().sprintf("%2ih %2im %2is",h,m,s1))
+ .arg(QString().sprintf("%ih %im %is",h,m,s1))
.arg((b ? "on" : "off"))
.arg(fd.date().toString(Qt::SystemLocaleShortDate))
.arg(fd.toString("HH:mm"))
@@ -1267,9 +1267,7 @@ void Daily::Load(QDate date)
.arg(fd.date().toString(Qt::SystemLocaleShortDate))
.arg(fd.toString("HH:mm"))
.arg(ld.toString("HH:mm"));
- //tmp.sprintf(("%08i | "+fd.date().toString(Qt::SystemLocaleShortDate)+" | "+fd.toString("HH:mm ")+" | "+ld.toString("HH:mm")+" |
").toLatin1(),(*s)->session(),(*s)->session());
- //html+=tmp;
- }
+ }
}
if (stage) {
html+=QString("%1 |
").arg(tr("Sleep Stage Sessions"));