Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove help button from debug window #1335

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/qt/rpcconsole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ void RPCExecutor::request(const QString &command)
}
}

RPCConsole::RPCConsole(QWidget *parent) :
RPCConsole::RPCConsole(QWidget *parent, Qt::WindowFlags f) :
QDialog(parent),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested with @barton26 help a similar test with iFoggz@39f1087 . The issue I see here is QDialog(parent), whould be QDialog(parent, f), this should make this work or u can just do what the commit shows instead.

ui(new Ui::RPCConsole),
historyPtr(0)
Expand Down
2 changes: 1 addition & 1 deletion src/qt/rpcconsole.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class RPCConsole: public QDialog
Q_OBJECT

public:
explicit RPCConsole(QWidget *parent = 0);
explicit RPCConsole(QWidget *parent = 0, Qt::WindowFlags f = Qt::WindowFlags() & ~Qt::WindowContextHelpButtonHint);
~RPCConsole();

void setClientModel(ClientModel *model);
Expand Down