Switch to unified view

a/src/qtgui/guiutils.cpp b/src/qtgui/guiutils.cpp
...
...
25
#include "guiutils.h"
25
#include "guiutils.h"
26
#include "pathut.h"
26
#include "pathut.h"
27
#include "base64.h"
27
#include "base64.h"
28
#include "advshist.h"
28
#include "advshist.h"
29
29
30
#include <QApplication>
30
#include <QSettings>
31
#include <QSettings>
31
#include <QStringList>
32
#include <QStringList>
32
#include <QFileDialog>
33
#include <QFileDialog>
33
34
34
RclDynConf *g_dynconf;
35
RclDynConf *g_dynconf;
...
...
143
144
144
    SETTING_RW(prefs.reslistfontfamily, "/Recoll/prefs/reslist/fontFamily", 
145
    SETTING_RW(prefs.reslistfontfamily, "/Recoll/prefs/reslist/fontFamily", 
145
           String, "");
146
           String, "");
146
    SETTING_RW(prefs.reslistfontsize, "/Recoll/prefs/reslist/fontSize", Int, 
147
    SETTING_RW(prefs.reslistfontsize, "/Recoll/prefs/reslist/fontSize", Int, 
147
           10);
148
           10);
149
150
    prefs.fontcolor = QApplication::palette().text().color().name();
148
151
149
    QString rlfDflt = QString::fromUtf8(prefs.dfltResListFormat);
152
    QString rlfDflt = QString::fromUtf8(prefs.dfltResListFormat);
150
    if (writing) {
153
    if (writing) {
151
    if (prefs.reslistformat.compare(rlfDflt)) {
154
    if (prefs.reslistformat.compare(rlfDflt)) {
152
        settings.setValue("/Recoll/prefs/reslist/format", 
155
        settings.setValue("/Recoll/prefs/reslist/format",