a/src/qtgui/main.cpp b/src/qtgui/main.cpp
...
...
326
    string historyfile = path_cat(theconfig->getConfDir(), "history");
326
    string historyfile = path_cat(theconfig->getConfDir(), "history");
327
    g_dynconf = new RclDynConf(historyfile);
327
    g_dynconf = new RclDynConf(historyfile);
328
    if (!g_dynconf || !g_dynconf->ok()) {
328
    if (!g_dynconf || !g_dynconf->ok()) {
329
        QString msg = app.translate
329
        QString msg = app.translate
330
            ("Main",
330
            ("Main",
331
             "\"history\" file is damaged or un(read)writeable, please check "
331
             "\"history\" file is damaged, please check "
332
             "or remove it: ") + QString::fromLocal8Bit(historyfile.c_str());
332
             "or remove it: ") + QString::fromLocal8Bit(historyfile.c_str());
333
        QMessageBox::critical(0, "Recoll",  msg);
333
        QMessageBox::critical(0, "Recoll",  msg);
334
        exit(1);
334
        exit(1);
335
    }
335
    }
336
    g_advshistory = new AdvSearchHist;
336
    g_advshistory = new AdvSearchHist;