diff options
| author | Pieter Wuille <[email protected]> | 2012-05-26 01:55:17 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-05-26 01:55:17 -0700 |
| commit | 1e07068adf86cbcdd22cda657204090707469d7e (patch) | |
| tree | 401167aeae1e7d234deb9456e7491ba4f6fcdb35 /src/qt/clientmodel.cpp | |
| parent | Remove newlines from JSON strings (diff) | |
| parent | add client startup time as an entry to debug.log (note: logged time in debug.... (diff) | |
| download | discoin-1e07068adf86cbcdd22cda657204090707469d7e.tar.xz discoin-1e07068adf86cbcdd22cda657204090707469d7e.zip | |
Merge pull request #1370 from Diapolo/add_startuptime_to_log
add client startup time as an entry to debug.log
Diffstat (limited to 'src/qt/clientmodel.cpp')
| -rw-r--r-- | src/qt/clientmodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp index 64fd2a945..cabbd5d24 100644 --- a/src/qt/clientmodel.cpp +++ b/src/qt/clientmodel.cpp @@ -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 |