From ab9107360ba133802d37025fa0f53153d8664db5 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Wed, 4 May 2011 18:38:51 +0200 Subject: [PATCH] GUI: improve error message for unaccessible/garbled history file --- src/qtgui/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qtgui/main.cpp b/src/qtgui/main.cpp index fbf80f7b..38c17029 100644 --- a/src/qtgui/main.cpp +++ b/src/qtgui/main.cpp @@ -262,7 +262,7 @@ int main(int argc, char **argv) string historyfile = path_cat(theconfig->getConfDir(), "history"); g_dynconf = new RclDynConf(historyfile); if (!g_dynconf || !g_dynconf->ok()) { - QString msg = app.translate("Main", "Configuration problem (dynconf"); + QString msg = app.translate("Main", "\"history\" file is damaged or un(read)writeable, please check or remove it: ") + QString::fromLocal8Bit(historyfile.c_str()); QMessageBox::critical(0, "Recoll", msg); exit(1); }