aboutsummaryrefslogtreecommitdiff
path: root/src/qt/rpcconsole.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2015-02-09 11:19:01 +0100
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2015-03-09 10:58:17 +0100
commit8517e9709e883ef59603d56b45dd2e06f8b7c7d7 (patch)
tree7534aee2b8a461e0ff470b9ad2ff95909ff26df4 /src/qt/rpcconsole.h
parent513e0252391688b919f1b08980c5759a515c341b (diff)
downloadbitcoin-8517e9709e883ef59603d56b45dd2e06f8b7c7d7.tar.xz
[Qt] rework setNumBlocks to have blockDate as parameter
- reduces some functional overhead and simplifies the code
Diffstat (limited to 'src/qt/rpcconsole.h')
-rw-r--r--src/qt/rpcconsole.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h
index fff5cfbf59..8737be35d1 100644
--- a/src/qt/rpcconsole.h
+++ b/src/qt/rpcconsole.h
@@ -63,8 +63,8 @@ public slots:
void message(int category, const QString &message, bool html = false);
/** Set number of connections shown in the UI */
void setNumConnections(int count);
- /** Set number of blocks shown in the UI */
- void setNumBlocks(int count);
+ /** Set number of blocks and last block date shown in the UI */
+ void setNumBlocks(int count, const QDateTime& blockDate);
/** Go forward or back in history */
void browseHistory(int offset);
/** Scroll console view to end */