git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9e25876
)
Fix missing QAbstractItemView definition
author
CryptoManiac
<balthazar.ad@gmail.com>
Mon, 20 Dec 2021 18:22:02 +0000 (21:22 +0300)
committer
CryptoManiac
<balthazar.ad@gmail.com>
Mon, 20 Dec 2021 18:22:02 +0000 (21:22 +0300)
src/qt/rpcconsole.cpp
patch
|
blob
|
history
diff --git
a/src/qt/rpcconsole.cpp
b/src/qt/rpcconsole.cpp
index
7e6ccd6
..
4f7c923
100644
(file)
--- a/
src/qt/rpcconsole.cpp
+++ b/
src/qt/rpcconsole.cpp
@@
-14,6
+14,7
@@
#include <QUrl>
#include <QScrollBar>
#include <QStringList>
+#include <QAbstractItemView>
#include <openssl/crypto.h>
#include <db_cxx.h>
@@
-247,7
+248,7
@@
bool RPCConsole::eventFilter(QObject* obj, QEvent *event)
case Qt::Key_Return:
case Qt::Key_Enter:
// forward these events to lineEdit
- if(obj == autoCompleter->popup()) {
+ if(obj == (QObject*)autoCompleter->popup()) {
QApplication::postEvent(ui->lineEdit, new QKeyEvent(*keyevt));
return true;
}