Switch to unified view

a/src/qtgui/main.cpp b/src/qtgui/main.cpp
...
...
43
#include "guiutils.h"
43
#include "guiutils.h"
44
#ifdef RCL_USE_ASPELL
44
#ifdef RCL_USE_ASPELL
45
#include "rclaspell.h"
45
#include "rclaspell.h"
46
#endif
46
#endif
47
#include "smallut.h"
47
#include "smallut.h"
48
#include "readfile.h"
49
48
#include "recollq.h"
50
#include "recollq.h"
49
51
50
RclConfig *theconfig;
52
RclConfig *theconfig;
51
RclConfig *thestableconfig;
53
RclConfig *thestableconfig;
52
PTMutexInit thestableconfiglock;
54
PTMutexInit thestableconfiglock;
...
...
313
    //    fprintf(stderr, "History done\n");
315
    //    fprintf(stderr, "History done\n");
314
    rwSettings(false);
316
    rwSettings(false);
315
    havereadsettings = true;
317
    havereadsettings = true;
316
    //    fprintf(stderr, "Settings done\n");
318
    //    fprintf(stderr, "Settings done\n");
317
319
320
    if (!prefs.stylesheetFile.isEmpty()) {
321
  string stylesheet;
322
  file_to_string((const char *)prefs.stylesheetFile.toLocal8Bit(),
323
             stylesheet);
324
  if (!stylesheet.empty())
325
      app.setStyleSheet(QString::fromAscii(stylesheet.c_str()));
326
    }
318
327
319
    // Create main window and set its size to previous session's
328
    // Create main window and set its size to previous session's
320
    RclMain w;
329
    RclMain w;
321
    mainWindow = &w;
330
    mainWindow = &w;
322
331