forked from qt-creator/qt-creator
Mixing of namespace and file name.
Reviewed-by: Thorbjørn
This commit is contained in:
@@ -109,7 +109,7 @@ void HelpManager::registerDocumentation(const QStringList &fileNames)
|
|||||||
if (hc.registeredDocumentations().contains(nameSpace)) {
|
if (hc.registeredDocumentations().contains(nameSpace)) {
|
||||||
if (!QFileInfo(hc.documentationFileName(nameSpace)).exists()) {
|
if (!QFileInfo(hc.documentationFileName(nameSpace)).exists()) {
|
||||||
// remove stale documentation path first
|
// remove stale documentation path first
|
||||||
if (!hc.unregisterDocumentation(fileName)) {
|
if (!hc.unregisterDocumentation(nameSpace)) {
|
||||||
qWarning() << "error unregistering " << fileName << hc.error();
|
qWarning() << "error unregistering " << fileName << hc.error();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user