mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-06 19:20:45 +00:00
Better session duration spacing
This commit is contained in:
parent
ee5a1dbab4
commit
c627733320
@ -1232,7 +1232,8 @@ void Daily::Load(QDate date)
|
||||
html+=QString("<tr onClick=\"document.location.href = 'cpap=%1';\"><td width=26><a href='togglecpapsession=%1'><img src='qrc:/icons/session-%4.png' width=24px></a></td><td align=center>%5</td><td align=center>%6</td><td align=center>%7</td><td align=left><a class=info href='cpap=%1'>%3<span>%2</span></a></td></tr>")
|
||||
.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"))
|
||||
|
Loading…
Reference in New Issue
Block a user