Don't use the full path in reference text.

This commit is contained in:
Adam Treat 2023-05-25 11:05:58 -04:00 committed by AT
parent 9b0629db8b
commit 0403a122ca

View File

@ -651,7 +651,7 @@ void Database::scanQueue()
existing_id, document_path, q.lastError());
}
QTextStream stream(&file);
chunkStream(stream, document_id, file.fileName(), QString() /*title*/, QString() /*author*/,
chunkStream(stream, document_id, info.doc.fileName(), QString() /*title*/, QString() /*author*/,
QString() /*subject*/, QString() /*keywords*/, -1 /*page*/);
file.close();
}