Switch to unified view

a/src/qtgui/ssearch_w.cpp b/src/qtgui/ssearch_w.cpp
...
...
30
#include <qwhatsthis.h>
30
#include <qwhatsthis.h>
31
#include <qmessagebox.h>
31
#include <qmessagebox.h>
32
#include <qevent.h>
32
#include <qevent.h>
33
#include <QTimer>
33
#include <QTimer>
34
#include <QCompleter>
34
#include <QCompleter>
35
#include <QAbstractItemView>
35
36
36
#include "log.h"
37
#include "log.h"
37
#include "guiutils.h"
38
#include "guiutils.h"
38
#include "searchdata.h"
39
#include "searchdata.h"
39
#include "ssearch_w.h"
40
#include "ssearch_w.h"
...
...
707
    event->type() == QEvent::Paint)
708
    event->type() == QEvent::Paint)
708
    return false;
709
    return false;
709
    LOGDEB2("SSearch::eventFilter: target "  << (target) << " ("  << (queryText->lineEdit()) << ") type "  << (eventTypeToStr(event->type())) << "\n" );
710
    LOGDEB2("SSearch::eventFilter: target "  << (target) << " ("  << (queryText->lineEdit()) << ") type "  << (eventTypeToStr(event->type())) << "\n" );
710
#endif
711
#endif
711
712
712
    if (target == queryText->view()) {
713
    if (target == (QObject*)(queryText->view())) {
713
    if (event->type() == QEvent::Hide) {
714
    if (event->type() == QEvent::Hide) {
714
        // List was closed. If we were displaying completions, need
715
        // List was closed. If we were displaying completions, need
715
        // to reset state.
716
        // to reset state.
716
        if (m_displayingCompletions) {
717
        if (m_displayingCompletions) {
717
        QTimer::singleShot(0, this, SLOT(wrapupCompletion()));
718
        QTimer::singleShot(0, this, SLOT(wrapupCompletion()));