From 733fa8f781f8367b4c374521fe06618513154a2c Mon Sep 17 00:00:00 2001 From: con <qtc-committer@nokia.com> Date: Wed, 13 Jan 2010 14:33:39 +0100 Subject: [PATCH] Mixing of namespace and file name. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Thorbjørn --- src/plugins/help/helpplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp index 1efcf1f77f9..ccdbaa5f9ba 100644 --- a/src/plugins/help/helpplugin.cpp +++ b/src/plugins/help/helpplugin.cpp @@ -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; } -- GitLab