Mixing of namespace and file name.

Reviewed-by: Thorbjørn
This commit is contained in:
con
2010-01-13 14:33:39 +01:00
parent 309fe426b0
commit 733fa8f781

View File

@@ -109,7 +109,7 @@ void HelpManager::registerDocumentation(const QStringList &fileNames)
if (hc.registeredDocumentations().contains(nameSpace)) {
if (!QFileInfo(hc.documentationFileName(nameSpace)).exists()) {
// remove stale documentation path first
if (!hc.unregisterDocumentation(fileName)) {
if (!hc.unregisterDocumentation(nameSpace)) {
qWarning() << "error unregistering " << fileName << hc.error();
continue;
}