|
a/src/qtgui/rclmain_w.cpp |
|
b/src/qtgui/rclmain_w.cpp |
|
... |
|
... |
1230 |
if (!doc.ipath.empty() && rcldb && rcldb->whatDbIdx(doc) == 0) {
|
1230 |
if (!doc.ipath.empty() && rcldb && rcldb->whatDbIdx(doc) == 0) {
|
1231 |
string udi;
|
1231 |
string udi;
|
1232 |
doc.getmeta(Rcl::Doc::keyudi, &udi);
|
1232 |
doc.getmeta(Rcl::Doc::keyudi, &udi);
|
1233 |
if (!udi.empty()) {
|
1233 |
if (!udi.empty()) {
|
1234 |
string sig;
|
1234 |
string sig;
|
1235 |
FileInterner::makesig(theconfig, doc, sig);
|
1235 |
if (!FileInterner::makesig(theconfig, doc, sig)) {
|
|
|
1236 |
QMessageBox::warning(0, "Recoll",
|
|
|
1237 |
tr("Can't access file: ") +
|
|
|
1238 |
QString::fromLocal8Bit(doc.url.c_str()));
|
|
|
1239 |
return;
|
|
|
1240 |
}
|
1236 |
if (rcldb->needUpdate(udi, sig)) {
|
1241 |
if (rcldb->needUpdate(udi, sig)) {
|
1237 |
QString msg =
|
1242 |
QString msg =
|
1238 |
tr("Index not up to date for this file. "
|
1243 |
tr("Index not up to date for this file. "
|
1239 |
"Refusing to risk showing the wrong entry.");
|
1244 |
"Refusing to risk showing the wrong entry.");
|
1240 |
if (m_indexerState == IXST_NOTRUNNING) {
|
1245 |
if (m_indexerState == IXST_NOTRUNNING) {
|