aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-05-12 00:28:58 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2012-05-12 00:28:58 +0200
commitd2f7778cc7a2258b55f779584c9ca47c8c4b12b9 (patch)
tree5be944ca60396d0411e32ea5f5d73557149a2b3e /src/qt/clientmodel.cpp
parentb34c5f3c0f4b37335e27bd67f554cf4df6976116 (diff)
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
Diffstat (limited to 'src/qt/clientmodel.cpp')
-rw-r--r--src/qt/clientmodel.cpp6
1 files changed, 6 insertions, 0 deletions
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 <QDateTime>
@@ -98,3 +99,8 @@ QString ClientModel::clientName() const
{
return QString::fromStdString(CLIENT_NAME);
}
+
+QDateTime ClientModel::formatClientStartupTime() const
+{
+ return QDateTime::fromTime_t(nClientStartupTime);
+}