forked from qt-creator/qt-creator
Fixes: - Avoid some annoying debug output.
Details: - No stupid "true" and "namespace bla already registered" output anymore.
This commit is contained in:
@@ -98,7 +98,7 @@ void HelpManager::registerDocumentation(const QStringList &fileNames)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (needsSetup)
|
if (needsSetup)
|
||||||
qDebug() << m_helpEngine->setupData();
|
m_helpEngine->setupData();
|
||||||
}
|
}
|
||||||
|
|
||||||
HelpPlugin::HelpPlugin() :
|
HelpPlugin::HelpPlugin() :
|
||||||
@@ -450,9 +450,12 @@ void HelpPlugin::extensionsInitialized()
|
|||||||
#endif
|
#endif
|
||||||
QHelpEngineCore hc(fi.absoluteFilePath());
|
QHelpEngineCore hc(fi.absoluteFilePath());
|
||||||
hc.setupData();
|
hc.setupData();
|
||||||
if (!hc.registerDocumentation(qchFileName))
|
QString fileNamespace = QHelpEngineCore::namespaceName(qchFileName);
|
||||||
qDebug() << hc.error();
|
if (!fileNamespace.isEmpty() && !hc.registeredDocumentations().contains(fileNamespace)) {
|
||||||
needsSetup = true;
|
if (!hc.registerDocumentation(qchFileName))
|
||||||
|
qDebug() << hc.error();
|
||||||
|
needsSetup = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int i = m_helpEngine->customValue(
|
int i = m_helpEngine->customValue(
|
||||||
|
Reference in New Issue
Block a user