Switch to unified view

a/src/qtgui/uiprefs.ui.h b/src/qtgui/uiprefs.ui.h
...
...
45
{
45
{
46
    // Entries per result page spinbox
46
    // Entries per result page spinbox
47
    pageLenSB->setValue(prefs.respagesize);
47
    pageLenSB->setValue(prefs.respagesize);
48
    // Show icons checkbox
48
    // Show icons checkbox
49
    useIconsCB->setChecked(prefs.showicons);
49
    useIconsCB->setChecked(prefs.showicons);
50
    autoSearchCB->setChecked(prefs.autoSearchOnWS);
50
    // Result list font family and size
51
    // Result list font family and size
51
    reslistFontFamily = prefs.reslistfontfamily;
52
    reslistFontFamily = prefs.reslistfontfamily;
52
    reslistFontSize = prefs.reslistfontsize;
53
    reslistFontSize = prefs.reslistfontsize;
53
    QString s;
54
    QString s;
54
    if (prefs.reslistfontfamily.length() == 0) {
55
    if (prefs.reslistfontfamily.length() == 0) {
...
...
121
}
122
}
122
123
123
void UIPrefsDialog::accept()
124
void UIPrefsDialog::accept()
124
{
125
{
125
    prefs.showicons = useIconsCB->isChecked();
126
    prefs.showicons = useIconsCB->isChecked();
127
    prefs.autoSearchOnWS = autoSearchCB->isChecked();
126
    prefs.respagesize = pageLenSB->value();
128
    prefs.respagesize = pageLenSB->value();
127
129
128
    prefs.reslistfontfamily = reslistFontFamily;
130
    prefs.reslistfontfamily = reslistFontFamily;
129
    prefs.reslistfontsize = reslistFontSize;
131
    prefs.reslistfontsize = reslistFontSize;
130
132