Allow clearing the wizards path

The QmlDesigner now depends on the CppEditor plugin
and the CppEditor plugin enables most of the C++
related wizards.

The easiest solution is to simply clear the wizard
paths before setting the QDS specific path.

Change-Id: I7ee6c84693053e6ad32ec28a6cf262dee615992f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Thomas Hartmann
2021-11-04 19:49:57 +01:00
parent ae8db2d55a
commit 14effaf9cb
2 changed files with 6 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ class PROJECTEXPLORER_EXPORT JsonWizardFactory : public Core::IWizardFactory
public:
// Add search paths for wizard.json files. All subdirs are going to be checked.
static void addWizardPath(const Utils::FilePath &path);
static void clearWizardPaths();
// actual interface of the wizard factory:
class Generator {