ClangTools: Give a hint to users as to why we didn't do anything

Task-number: QTCREATORBUG-25565
Change-Id: I27cb0e5bc2a02a88ddf1d42b996e45840d6c1385
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Kandeler
2021-04-12 12:58:52 +02:00
parent 38b4536090
commit 226c03c1eb
3 changed files with 19 additions and 1 deletions

View File

@@ -60,6 +60,7 @@
#include <projectexplorer/kitinformation.h>
#include <projectexplorer/projectpanelfactory.h>
#include <projectexplorer/target.h>
#include <projectexplorer/taskhub.h>
#include <QAction>
#include <QDebug>
@@ -114,6 +115,8 @@ bool ClangToolsPlugin::initialize(const QStringList &arguments, QString *errorSt
Q_UNUSED(arguments)
Q_UNUSED(errorString)
TaskHub::addCategory(taskCategory(), tr("Clang Tools"));
// Import tidy/clazy diagnostic configs from CppTools now
// instead of at opening time of the settings page
ClangToolsSettings::instance();