aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2012-05-26 01:55:17 -0700
committerPieter Wuille <[email protected]>2012-05-26 01:55:17 -0700
commit1e07068adf86cbcdd22cda657204090707469d7e (patch)
tree401167aeae1e7d234deb9456e7491ba4f6fcdb35 /src/qt/clientmodel.cpp
parentRemove newlines from JSON strings (diff)
parentadd client startup time as an entry to debug.log (note: logged time in debug.... (diff)
downloaddiscoin-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.cpp4
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