[Qt] move helpmessage from debug window to main menu

- the option to show our help message dialog resides now in main menu
  under help
This commit is contained in:
Philip Kaufmann
2014-01-22 14:47:33 +01:00
parent fe87b20717
commit f0219813d5
5 changed files with 16 additions and 37 deletions

View File

@@ -7,7 +7,6 @@
#include "clientmodel.h"
#include "guiutil.h"
#include "utilitydialog.h"
#include "rpcserver.h"
#include "rpcclient.h"
@@ -201,7 +200,6 @@ RPCConsole::RPCConsole(QWidget *parent) :
#ifndef Q_OS_MAC
ui->openDebugLogfileButton->setIcon(QIcon(":/icons/export"));
ui->showCLOptionsButton->setIcon(QIcon(":/icons/options"));
#endif
// Install event filter for up and down arrow
@@ -442,12 +440,6 @@ void RPCConsole::scrollToEnd()
scrollbar->setValue(scrollbar->maximum());
}
void RPCConsole::on_showCLOptionsButton_clicked()
{
HelpMessageDialog *help = new HelpMessageDialog(this);
help->show();
}
void RPCConsole::on_sldGraphRange_valueChanged(int value)
{
const int multiplier = 5; // each position on the slider represents 5 min