Switch to unified view

a/src/qtgui/searchclause_w.cpp b/src/qtgui/searchclause_w.cpp
...
...
80
    sTpCMB->addItem(tr("Terms in proximity"));//4
80
    sTpCMB->addItem(tr("Terms in proximity"));//4
81
    sTpCMB->addItem(tr("File name matching"));//5
81
    sTpCMB->addItem(tr("File name matching"));//5
82
    //    sTpCMB->insertItem(tr("Complex clause"));//6
82
    //    sTpCMB->insertItem(tr("Complex clause"));//6
83
83
84
    fldCMB->addItem(tr("In field"));
84
    fldCMB->addItem(tr("In field"));
85
    if (rclconfig) {
85
    if (theconfig) {
86
    set<string> fields = rclconfig->getIndexedFields();
86
    set<string> fields = theconfig->getIndexedFields();
87
    for (set<string>::const_iterator it = fields.begin(); 
87
    for (set<string>::const_iterator it = fields.begin(); 
88
         it != fields.end(); it++) {
88
         it != fields.end(); it++) {
89
        // Some fields don't make sense here
89
        // Some fields don't make sense here
90
        if (it->compare("filename")) {
90
        if (it->compare("filename")) {
91
        fldCMB->addItem(QString::fromUtf8(it->c_str()));
91
        fldCMB->addItem(QString::fromUtf8(it->c_str()));