Switch to unified view

a/src/qtgui/recollmain.ui.h b/src/qtgui/recollmain.ui.h
...
...
345
    int reldocnum = reldocnumfromparnum(par);
345
    int reldocnum = reldocnumfromparnum(par);
346
346
347
    if (reldocnum < 0) {
347
    if (reldocnum < 0) {
348
    // Bad number: must have clicked on header. Show details of query
348
    // Bad number: must have clicked on header. Show details of query
349
    QString desc = tr("Query details") + ": " + 
349
    QString desc = tr("Query details") + ": " + 
350
        currentQueryData.description.c_str();
350
        QString::fromUtf8(currentQueryData.description.c_str());
351
    QMessageBox::information(this, tr("Query details"), desc);
351
    QMessageBox::information(this, tr("Query details"), desc);
352
    return;
352
    return;
353
    } else {
353
    } else {
354
    startPreview(reslist_winfirst + reldocnum);
354
    startPreview(reslist_winfirst + reldocnum);
355
    }
355
    }
...
...
803
    } else {
803
    } else {
804
    docsource = new DocSequenceHistory(rcldb, history, 
804
    docsource = new DocSequenceHistory(rcldb, history, 
805
                       tr("Document history"));
805
                       tr("Document history"));
806
    }
806
    }
807
    currentQueryData.erase();
807
    currentQueryData.erase();
808
    currentQueryData.description = tr("History data").utf8();
808
    showResultPage();
809
    showResultPage();
809
}
810
}
810
811
811
812
812
void RecollMain::searchTextChanged(const QString & text)
813
void RecollMain::searchTextChanged(const QString & text)