mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
refs #895, also log when parts are empty
* added empty flag * move logging into own function (because it is called in multiple places now)
This commit is contained in:
committed by
Mathew Sutcliffe
parent
aa14c564b0
commit
a27717cf8b
@@ -228,7 +228,7 @@ namespace BlackMisc
|
||||
QLatin1String("<td>") % log.callsign.asString() % QLatin1String("</td>") %
|
||||
QLatin1String("<td>") % msSinceEpochToTime(log.timestamp) % QLatin1String("</td>") %
|
||||
(changedParts ? QLatin1String("<td class=\"changed\">*</td>") : QLatin1String("<td></td>")) %
|
||||
QLatin1String("<td>") % log.parts.toQString() % QLatin1String("</td>");
|
||||
QLatin1String("<td>") % (log.empty ? QLatin1String("empty") : log.parts.toQString()) % QLatin1String("</td>");
|
||||
}
|
||||
tableRows += QLatin1String("</tbody>\n");
|
||||
return QLatin1String("<table class=\"small\">\n") % tableHeader % tableRows % QLatin1String("</table>\n");
|
||||
|
||||
Reference in New Issue
Block a user