Switch to unified view

a/src/qtgui/recollmain.ui.h b/src/qtgui/recollmain.ui.h
...
...
27
#include <qtabwidget.h>
27
#include <qtabwidget.h>
28
#include <qtimer.h>
28
#include <qtimer.h>
29
#include <qstatusbar.h>
29
#include <qstatusbar.h>
30
#include <qwindowdefs.h>
30
#include <qwindowdefs.h>
31
#include <qapplication.h>
31
#include <qapplication.h>
32
#include <qcheckbox.h>
32
33
33
#include "recoll.h"
34
#include "recoll.h"
34
#include "debuglog.h"
35
#include "debuglog.h"
35
#include "mimehandler.h"
36
#include "mimehandler.h"
36
#include "pathut.h"
37
#include "pathut.h"
...
...
387
    LOGDEB(("RecollMain::queryText_returnPressed()\n"));
388
    LOGDEB(("RecollMain::queryText_returnPressed()\n"));
388
    // The db may have been closed at the end of indexing
389
    // The db may have been closed at the end of indexing
389
    Rcl::AdvSearchData sdata;
390
    Rcl::AdvSearchData sdata;
390
391
391
    QCString u8 =  queryText->text().utf8();
392
    QCString u8 =  queryText->text().utf8();
393
    if (allTermsCB->isChecked())
394
  sdata.allwords = u8;
395
    else
392
    sdata.orwords = u8;
396
  sdata.orwords = u8;
397
393
    startAdvSearch(sdata);
398
    startAdvSearch(sdata);
394
}
399
}
395
400
396
// Execute an advanced search query. The parameters normally come from
401
// Execute an advanced search query. The parameters normally come from
397
// the advanced search dialog
402
// the advanced search dialog