diff options
author | Jonas Schnelli <jonas.schnelli@include7.ch> | 2014-11-10 16:41:57 +0100 |
---|---|---|
committer | Jonas Schnelli <jonas.schnelli@include7.ch> | 2014-11-13 12:57:24 +0100 |
commit | 4a8fc152a957e54e6dd910de4382678f5c405198 (patch) | |
tree | f53a5bce4ceb32071adcadf0bdba172d0c369b96 /src/qt/rpcconsole.h | |
parent | 5406f61373fe93326ab1f546e4da9f4528236cc7 (diff) |
[Qt] the RPC Console should be a QWidget to make window more independent
- fix issue #5254
Diffstat (limited to 'src/qt/rpcconsole.h')
-rw-r--r-- | src/qt/rpcconsole.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/rpcconsole.h b/src/qt/rpcconsole.h index 4bb9b62e93..fae254b336 100644 --- a/src/qt/rpcconsole.h +++ b/src/qt/rpcconsole.h @@ -10,7 +10,7 @@ #include "net.h" -#include <QDialog> +#include <QWidget> class ClientModel; @@ -23,7 +23,7 @@ class QItemSelection; QT_END_NAMESPACE /** Local Bitcoin RPC console. */ -class RPCConsole: public QDialog +class RPCConsole: public QWidget { Q_OBJECT @@ -43,6 +43,7 @@ public: protected: virtual bool eventFilter(QObject* obj, QEvent *event); + void keyPressEvent(QKeyEvent *); private slots: void on_lineEdit_returnPressed(); @@ -59,7 +60,6 @@ private slots: public slots: void clear(); - void reject(); void message(int category, const QString &message, bool html = false); /** Set number of connections shown in the UI */ void setNumConnections(int count); |