Switch to unified view

a/src/qtgui/main.cpp b/src/qtgui/main.cpp
...
...
95
#ifdef RCL_USE_ASPELL
95
#ifdef RCL_USE_ASPELL
96
Aspell *aspell;
96
Aspell *aspell;
97
#endif
97
#endif
98
98
99
int recollNeedsExit;
99
int recollNeedsExit;
100
int startIndexingAfterConfig;
101
RclMain *mainWindow;
100
RclMain *mainWindow;
102
101
103
void startManual(const string& helpindex)
102
void startManual(const string& helpindex)
104
{
103
{
105
    if (mainWindow)
104
    if (mainWindow)
...
...
350
    // Connect exit handlers etc.. Beware, apparently this must come
349
    // Connect exit handlers etc.. Beware, apparently this must come
351
    // after mainWindow->show()?
350
    // after mainWindow->show()?
352
    app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));
351
    app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit()));
353
    app.connect(&app, SIGNAL(aboutToQuit()), mainWindow, SLOT(close()));
352
    app.connect(&app, SIGNAL(aboutToQuit()), mainWindow, SLOT(close()));
354
353
355
    // Start the indexing thread. It will immediately go to sleep waiting for 
356
    // something to do.
357
    start_idxthread();
358
359
    mainWindow->sSearch->searchTypCMB->setCurrentIndex(prefs.ssearchTyp);
354
    mainWindow->sSearch->searchTypCMB->setCurrentIndex(prefs.ssearchTyp);
360
    mainWindow->sSearch->searchTypeChanged(prefs.ssearchTyp);
355
    mainWindow->sSearch->searchTypeChanged(prefs.ssearchTyp);
361
    if (op_flags & OPT_q) {
356
    if (op_flags & OPT_q) {
362
    SSearch::SSearchType stype;
357
    SSearch::SSearchType stype;
363
    if (op_flags & OPT_o) {
358
    if (op_flags & OPT_o) {