Switch to unified view

a/src/qtgui/uiprefs_w.cpp b/src/qtgui/uiprefs_w.cpp
...
...
152
    default:
152
    default:
153
    plainPREWRAPRB->setChecked(1);
153
    plainPREWRAPRB->setChecked(1);
154
    break;
154
    break;
155
    }
155
    }
156
    // Query terms color
156
    // Query terms color
157
    qtermColorLE->setText(prefs.qtermcolor);
157
    qtermStyleLE->setText(prefs.qtermstyle);
158
    // Abstract snippet separator string
158
    // Abstract snippet separator string
159
    abssepLE->setText(prefs.abssep);
159
    abssepLE->setText(prefs.abssep);
160
    dateformatLE->setText(prefs.reslistdateformat);
160
    dateformatLE->setText(prefs.reslistdateformat);
161
161
162
    // Result list font family and size
162
    // Result list font family and size
...
...
284
284
285
    prefs.respagesize = pageLenSB->value();
285
    prefs.respagesize = pageLenSB->value();
286
    prefs.collapseDuplicates = collapseDupsCB->isChecked();
286
    prefs.collapseDuplicates = collapseDupsCB->isChecked();
287
    prefs.maxhltextmbs = maxHLTSB->value();
287
    prefs.maxhltextmbs = maxHLTSB->value();
288
288
289
    prefs.qtermcolor = qtermColorLE->text();
289
    prefs.qtermstyle = qtermStyleLE->text();
290
    prefs.abssep = abssepLE->text();
290
    prefs.abssep = abssepLE->text();
291
    prefs.reslistdateformat = dateformatLE->text();
291
    prefs.reslistdateformat = dateformatLE->text();
292
    prefs.creslistdateformat = (const char*)prefs.reslistdateformat.toUtf8();
292
    prefs.creslistdateformat = (const char*)prefs.reslistdateformat.toUtf8();
293
293
294
    prefs.reslistfontfamily = reslistFontFamily;
294
    prefs.reslistfontfamily = reslistFontFamily;