qtgui: fix build error by adding missing include
This commit is contained in:
parent
7913344359
commit
6a90e3ba87
@ -32,6 +32,7 @@
|
|||||||
#include <qevent.h>
|
#include <qevent.h>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QCompleter>
|
#include <QCompleter>
|
||||||
|
#include <QAbstractItemView>
|
||||||
|
|
||||||
#include "log.h"
|
#include "log.h"
|
||||||
#include "guiutils.h"
|
#include "guiutils.h"
|
||||||
@ -709,7 +710,7 @@ bool SSearch::eventFilter(QObject *target, QEvent *event)
|
|||||||
LOGDEB2("SSearch::eventFilter: target " << (target) << " (" << (queryText->lineEdit()) << ") type " << (eventTypeToStr(event->type())) << "\n" );
|
LOGDEB2("SSearch::eventFilter: target " << (target) << " (" << (queryText->lineEdit()) << ") type " << (eventTypeToStr(event->type())) << "\n" );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (target == queryText->view()) {
|
if (target == (QObject*)(queryText->view())) {
|
||||||
if (event->type() == QEvent::Hide) {
|
if (event->type() == QEvent::Hide) {
|
||||||
// List was closed. If we were displaying completions, need
|
// List was closed. If we were displaying completions, need
|
||||||
// to reset state.
|
// to reset state.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user