Switch to unified view

a/src/qtgui/main.cpp b/src/qtgui/main.cpp
...
...
81
RclConfig* RclConfig::getMainConfig()
81
RclConfig* RclConfig::getMainConfig()
82
{
82
{
83
    return rclconfig;
83
    return rclconfig;
84
}
84
}
85
85
86
RclHistory *g_dynconf;
86
RclDynConf *g_dynconf;
87
int recollNeedsExit;
87
int recollNeedsExit;
88
int startIndexingAfterConfig;
88
int startIndexingAfterConfig;
89
RclMain *mainWindow;
89
RclMain *mainWindow;
90
static string recollsharedir;
90
static string recollsharedir;
91
91
...
...
274
    aspell = 0;
274
    aspell = 0;
275
    }
275
    }
276
#endif
276
#endif
277
277
278
    string historyfile = path_cat(rclconfig->getConfDir(), "history");
278
    string historyfile = path_cat(rclconfig->getConfDir(), "history");
279
    g_dynconf = new RclHistory(historyfile);
279
    g_dynconf = new RclDynConf(historyfile);
280
    if (!g_dynconf || !g_dynconf->ok()) {
280
    if (!g_dynconf || !g_dynconf->ok()) {
281
    QString msg = app.translate("Main", "Configuration problem (dynconf");
281
    QString msg = app.translate("Main", "Configuration problem (dynconf");
282
    QMessageBox::critical(0, "Recoll",  msg);
282
    QMessageBox::critical(0, "Recoll",  msg);
283
    exit(1);
283
    exit(1);
284
    }
284
    }