diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-05-20 01:32:18 -0700 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-05-20 01:32:18 -0700 |
commit | 6f3b919ae1e5d980dc41d66bd4320d2a6623b66f (patch) | |
tree | 41920fc78c69ea3cd40ce26e605068d3a4b025f5 | |
parent | 01ecb074a7b187d96c52d4ea5bb197afccc9a1e5 (diff) | |
parent | a3b4caac389021d42bef3adbef2cbb703b0d7eee (diff) |
Merge pull request #1353 from Diapolo/RPC_OpenDebugLog_Icon
GUI: add an icon for Debug logfile -> Open in the RPC console
-rw-r--r-- | src/qt/rpcconsole.cpp | 4 | ||||
-rw-r--r-- | src/qt/rpcconsole.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index 78dbcd7daa..47f10f92d2 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -109,7 +109,9 @@ RPCConsole::RPCConsole(QWidget *parent) : { ui->setupUi(this); -#ifndef WIN32 +#ifdef WIN32 + ui->openDebugLogfileButton->setIcon(QIcon(":/icons/export")); +#else // Show Debug logfile label and Open button only for Windows ui->labelDebugLogfile->setVisible(false); ui->openDebugLogfileButton->setVisible(false); diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h index c64ea5710c..27f41817ea 100644 --- a/src/qt/rpcconsole.h +++ b/src/qt/rpcconsole.h @@ -33,6 +33,7 @@ protected: private slots: void on_lineEdit_returnPressed(); void on_tabWidget_currentChanged(int index); + /** open the debug.log from the current datadir */ void on_openDebugLogfileButton_clicked(); public slots: |