forked from qt-creator/qt-creator
Help: Remove functionality of unregistering namespace from public API
Only used by the options page and generally needs knowledge of help namespaces, which requires querying QtHelp. Change-Id: Id8eda86e5b373ab3214e8eff6e2e3ce92c1239ba Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
#include "helpconstants.h"
|
||||
#include "helpmanager.h"
|
||||
|
||||
#include <coreplugin/helpmanager.h>
|
||||
#include <utils/algorithm.h>
|
||||
|
||||
#include <QFileDialog>
|
||||
@@ -244,7 +243,7 @@ void DocSettingsPage::addDocumentation()
|
||||
|
||||
void DocSettingsPage::apply()
|
||||
{
|
||||
Core::HelpManager::unregisterDocumentation(m_filesToUnregister.keys());
|
||||
HelpManager::unregisterNamespaces(m_filesToUnregister.keys());
|
||||
QStringList files;
|
||||
auto it = m_filesToRegisterUserManaged.constBegin();
|
||||
while (it != m_filesToRegisterUserManaged.constEnd()) {
|
||||
|
||||
Reference in New Issue
Block a user