From d2f7778cc7a2258b55f779584c9ca47c8c4b12b9 Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Sat, 12 May 2012 00:28:58 +0200 Subject: add the client startup time to the debug window / rename Version label to Client, which is better suiting now / add IBeamCursor for selectable text on the information page / make ">" sign on RPC page untranslatable / re-order XML-file tags to match real GUI element order --- src/qt/clientmodel.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/qt/clientmodel.cpp') diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp index d7172fd9cd..85ab03612d 100644 --- a/src/qt/clientmodel.cpp +++ b/src/qt/clientmodel.cpp @@ -5,6 +5,7 @@ #include "transactiontablemodel.h" #include "main.h" +static const int64 nClientStartupTime = GetTime(); #include @@ -98,3 +99,8 @@ QString ClientModel::clientName() const { return QString::fromStdString(CLIENT_NAME); } + +QDateTime ClientModel::formatClientStartupTime() const +{ + return QDateTime::fromTime_t(nClientStartupTime); +} -- cgit v1.2.3