Switch to unified view

a/src/qtgui/ssearch_w.cpp b/src/qtgui/ssearch_w.cpp
...
...
68
    queryText->setInsertPolicy(QComboBox::NoInsert);
68
    queryText->setInsertPolicy(QComboBox::NoInsert);
69
    // Note: we can't do the obvious and save the completer instead because
69
    // Note: we can't do the obvious and save the completer instead because
70
    // the combobox lineedit will delete the completer on setCompleter(0).
70
    // the combobox lineedit will delete the completer on setCompleter(0).
71
    // But the model does not belong to the completer so it's not deleted...
71
    // But the model does not belong to the completer so it's not deleted...
72
    m_savedModel = queryText->completer()->model();
72
    m_savedModel = queryText->completer()->model();
73
    if (prefs.ssearchNoComplete) 
73
    if (prefs.ssearchNoComplete)
74
    queryText->completer()->setModel(0);
74
    queryText->completer()->setModel(0);
75
    // Recoll searches are always case-sensitive because of the use of
76
    // capitalization to suppress stemming
77
    queryText->completer()->setCaseSensitivity(Qt::CaseSensitive);
75
    m_displayingCompletions = false;
78
    m_displayingCompletions = false;
76
    m_escape = false;
79
    m_escape = false;
77
    m_disableAutosearch = true;
80
    m_disableAutosearch = true;
78
    m_stroketimeout = new QTimer(this);
81
    m_stroketimeout = new QTimer(this);
79
    m_stroketimeout->setSingleShot(true);
82
    m_stroketimeout->setSingleShot(true);