Switch to unified view

a/src/qtgui/guiutils.cpp b/src/qtgui/guiutils.cpp
...
...
144
    }
144
    }
145
    SETTING_RW(prefs.queryStemLang, "/Recoll/prefs/query/stemLang", String,
145
    SETTING_RW(prefs.queryStemLang, "/Recoll/prefs/query/stemLang", String,
146
           "english");
146
           "english");
147
    SETTING_RW(prefs.useDesktopOpen, 
147
    SETTING_RW(prefs.useDesktopOpen, 
148
           "/Recoll/prefs/useDesktopOpen", Bool, true);
148
           "/Recoll/prefs/useDesktopOpen", Bool, true);
149
149
    SETTING_RW(prefs.keepSort, 
150
    SETTING_RW(prefs.keepSort, 
150
           "/Recoll/prefs/keepSort", Bool, false);
151
           "/Recoll/prefs/keepSort", Bool, false);
152
    SETTING_RW(prefs.sortField, "/Recoll/prefs/sortField", String, "");
151
    SETTING_RW(prefs.sortActive, 
153
    SETTING_RW(prefs.sortActive, 
152
           "/Recoll/prefs/sortActive", Bool, false);
154
           "/Recoll/prefs/sortActive", Bool, false);
153
    SETTING_RW(prefs.sortDesc, 
155
    SETTING_RW(prefs.sortDesc, 
154
           "/Recoll/prefs/query/sortDesc", Bool, 0);
156
           "/Recoll/prefs/query/sortDesc", Bool, 0);
157
    if (!writing) {
158
  // Handle transition from older prefs which did not store sortColumn
159
  // (Active always meant sort by date).
160
  if (prefs.sortActive && prefs.sortField.isNull())
161
      prefs.sortField = "mtime";
162
    }
163
155
    SETTING_RW(prefs.queryBuildAbstract, 
164
    SETTING_RW(prefs.queryBuildAbstract, 
156
           "/Recoll/prefs/query/buildAbstract", Bool, true);
165
           "/Recoll/prefs/query/buildAbstract", Bool, true);
157
    SETTING_RW(prefs.queryReplaceAbstract, 
166
    SETTING_RW(prefs.queryReplaceAbstract, 
158
           "/Recoll/prefs/query/replaceAbstract", Bool, false);
167
           "/Recoll/prefs/query/replaceAbstract", Bool, false);
159
    SETTING_RW(prefs.syntAbsLen, "/Recoll/prefs/query/syntAbsLen", 
168
    SETTING_RW(prefs.syntAbsLen, "/Recoll/prefs/query/syntAbsLen",