Browse Source

Merge pull request #1353 from Diapolo/RPC_OpenDebugLog_Icon

GUI: add an icon for Debug logfile -> Open in the RPC console
0.8
Wladimir J. van der Laan 13 years ago
parent
commit
6f3b919ae1
  1. 4
      src/qt/rpcconsole.cpp
  2. 1
      src/qt/rpcconsole.h

4
src/qt/rpcconsole.cpp

@ -109,7 +109,9 @@ RPCConsole::RPCConsole(QWidget *parent) :
{ {
ui->setupUi(this); ui->setupUi(this);
#ifndef WIN32 #ifdef WIN32
ui->openDebugLogfileButton->setIcon(QIcon(":/icons/export"));
#else
// Show Debug logfile label and Open button only for Windows // Show Debug logfile label and Open button only for Windows
ui->labelDebugLogfile->setVisible(false); ui->labelDebugLogfile->setVisible(false);
ui->openDebugLogfileButton->setVisible(false); ui->openDebugLogfileButton->setVisible(false);

1
src/qt/rpcconsole.h

@ -33,6 +33,7 @@ protected:
private slots: private slots:
void on_lineEdit_returnPressed(); void on_lineEdit_returnPressed();
void on_tabWidget_currentChanged(int index); void on_tabWidget_currentChanged(int index);
/** open the debug.log from the current datadir */
void on_openDebugLogfileButton_clicked(); void on_openDebugLogfileButton_clicked();
public slots: public slots:

Loading…
Cancel
Save