add client startup time as an entry to debug.log (note: logged time in debug.log differs by a few seconds from the one displayed in the Debug window) / make ClientModel::formatClientStartupTime() return a QString

This commit is contained in:
Philip Kaufmann
2012-05-21 23:05:54 +02:00
parent 7a99821377
commit 41c6b8abc6
4 changed files with 5 additions and 4 deletions

View File

@@ -130,9 +130,9 @@ QString ClientModel::clientName() const
return QString::fromStdString(CLIENT_NAME);
}
QDateTime ClientModel::formatClientStartupTime() const
QString ClientModel::formatClientStartupTime() const
{
return QDateTime::fromTime_t(nClientStartupTime);
return QDateTime::fromTime_t(nClientStartupTime).toString();
}
// Handlers for core signals