Switch to unified view

a/src/qtgui/advsearch.ui.h b/src/qtgui/advsearch.ui.h
...
...
20
20
21
#include "recoll.h"
21
#include "recoll.h"
22
#include "rclconfig.h"
22
#include "rclconfig.h"
23
#include "debuglog.h"
23
#include "debuglog.h"
24
24
25
26
extern RclConfig *rclconfig;
25
extern RclConfig *rclconfig;
27
26
28
// Constructor/initialization
27
// Constructor/initialization
29
void advsearch::init()
28
void advsearch::init()
30
{
29
{
31
    list<string> types = rclconfig->getAllMimeTypes();
30
    list<string> types = rclconfig->getAllMimeTypes();
31
32
    QStringList ql;
32
    QStringList ql;
33
    for (list<string>::iterator it = types.begin(); it != types.end(); it++) {
33
    for (list<string>::iterator it = types.begin(); it != types.end(); it++) {
34
    ql.append(it->c_str());
34
    ql.append(it->c_str());
35
    }
35
    }
36
    yesFiltypsLB->insertStringList(ql);
36
    yesFiltypsLB->insertStringList(ql);