From be57d0153a79c123bfe50feb460fce18c454c09d Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Wed, 6 Mar 2019 18:39:29 +0100 Subject: [PATCH] Use more explicit message when some topdirs are missing or empty --- src/qtgui/rclm_idx.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/qtgui/rclm_idx.cpp b/src/qtgui/rclm_idx.cpp index 50f7e89a..f182dea2 100644 --- a/src/qtgui/rclm_idx.cpp +++ b/src/qtgui/rclm_idx.cpp @@ -217,7 +217,10 @@ bool RclMain::checkIdxPaths() ExecCmd::backtick(args, badpaths); if (!badpaths.empty()) { int rep = QMessageBox::warning( - 0, tr("Bad paths"), tr("Bad paths in configuration file:\n") + + 0, tr("Bad paths"), + tr("Empty or non-existant paths in configuration file. " + "Click Ok to start indexing anyway " + "(absent data will not be purged from the index):\n") + QString::fromLocal8Bit(badpaths.c_str()), QMessageBox::Ok, QMessageBox::Cancel, QMessageBox::NoButton); if (rep == QMessageBox::Cancel)