diff options
author | Eike Ziller <eike.ziller@qt.io> | 2019-08-15 08:57:27 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2019-08-15 08:57:27 +0200 |
commit | 8201d49ea07fe83eecf6694d690c49ea314d52ca (patch) | |
tree | 18149155174beaf7ea92b1de1e9c406c0c7a0fa2 /src/plugins/studiowelcome | |
parent | 40921421ae7d6ad7c7644e0f7ffe900ccd70ee5e (diff) | |
parent | 85cb98148670f0c74944cb79d093a4342966543f (diff) |
Merge remote-tracking branch 'origin/4.10'
Change-Id: I4d24269ef040c45e2143dfa86d1be3f7e8008521
Diffstat (limited to 'src/plugins/studiowelcome')
-rw-r--r-- | src/plugins/studiowelcome/studiowelcomeplugin.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/studiowelcome/studiowelcomeplugin.cpp b/src/plugins/studiowelcome/studiowelcomeplugin.cpp index 82bb082c0a..abdecb1180 100644 --- a/src/plugins/studiowelcome/studiowelcomeplugin.cpp +++ b/src/plugins/studiowelcome/studiowelcomeplugin.cpp @@ -32,6 +32,9 @@ #include <coreplugin/imode.h> #include <coreplugin/modemanager.h> +#include <extensionsystem/pluginmanager.h> +#include <extensionsystem/pluginspec.h> + #include <projectexplorer/projectexplorer.h> #include <projectexplorer/projectexplorer.h> #include <projectexplorer/projectmanager.h> @@ -127,11 +130,10 @@ ProjectModel::ProjectModel(QObject *parent) this, &ProjectModel::resetProjects); -#ifdef LICENSECHECKER + if (!Utils::findOrDefault(ExtensionSystem::PluginManager::plugins(), - Utils::equal(&ExtensionSystem::PluginSpec::name, QString("LicenseChecker")))) + Utils::equal(&ExtensionSystem::PluginSpec::name, QString("LicenseChecker")))) m_communityVersion = true; -#endif } int ProjectModel::rowCount(const QModelIndex &) const |