ProjectExplorer: Don't use object names for KitAspectFactories

Not used. Also the debugger knows the typename and these are
singletons.

Change-Id: I577241876318aa2930bbc36f454846ffa47cb571
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
hjk
2023-08-22 10:45:18 +02:00
parent a7630f999f
commit 6216c0e924
9 changed files with 0 additions and 16 deletions

View File

@@ -218,7 +218,6 @@ private:
CMakeKitAspectFactory::CMakeKitAspectFactory()
{
setObjectName(QLatin1String("CMakeKitAspect"));
setId(Constants::TOOL_ID);
setDisplayName(Tr::tr("CMake Tool"));
setDescription(Tr::tr("The CMake Tool to use when building a project with CMake.<br>"
@@ -568,7 +567,6 @@ static void setGeneratorInfo(Kit *k, const GeneratorInfo &info)
CMakeGeneratorKitAspectFactory::CMakeGeneratorKitAspectFactory()
{
setObjectName(QLatin1String("CMakeGeneratorKitAspect"));
setId(GENERATOR_ID);
setDisplayName(Tr::tr("CMake <a href=\"generator\">generator</a>"));
setDescription(Tr::tr("CMake generator defines how a project is built when using CMake.<br>"
@@ -1058,7 +1056,6 @@ private:
CMakeConfigurationKitAspectFactory::CMakeConfigurationKitAspectFactory()
{
setObjectName(QLatin1String("CMakeConfigurationKitAspect"));
setId(CONFIGURATION_ID);
setDisplayName(Tr::tr("CMake Configuration"));
setDescription(Tr::tr("Default configuration passed to CMake when setting up a project."));