From 6cb17fcae9edec716eb11fd43685728267c5b4ba Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 31 Jul 2019 18:27:29 +0200 Subject: [PATCH] ProjectExplorer: RunSettingsWidget code cosmetics Namespaces, #includes, unused bits. Change-Id: I13704948204a13d91cff1a48b8f3ed189ea0bf44 Reviewed-by: Christian Kandeler --- .../runsettingspropertiespage.cpp | 31 +++++-------------- 1 file changed, 7 insertions(+), 24 deletions(-) diff --git a/src/plugins/projectexplorer/runsettingspropertiespage.cpp b/src/plugins/projectexplorer/runsettingspropertiespage.cpp index 1b3473e605d..b740a6b9af0 100644 --- a/src/plugins/projectexplorer/runsettingspropertiespage.cpp +++ b/src/plugins/projectexplorer/runsettingspropertiespage.cpp @@ -26,22 +26,19 @@ #include "runsettingspropertiespage.h" #include "addrunconfigdialog.h" +#include "buildmanager.h" #include "buildstepspage.h" #include "deployconfiguration.h" -#include "runconfiguration.h" -#include "target.h" #include "projectconfigurationmodel.h" +#include "runconfiguration.h" #include "session.h" +#include "target.h" -#include -#include -#include #include #include #include #include -#include #include #include #include @@ -56,24 +53,7 @@ namespace ProjectExplorer { namespace Internal { -struct FactoryAndId -{ - RunConfigurationFactory *factory; - Core::Id id; -}; - -} // namespace Internal -} // namespace ProjectExplorer - -Q_DECLARE_METATYPE(ProjectExplorer::Internal::FactoryAndId) - -using namespace ProjectExplorer; -using namespace ProjectExplorer::Internal; -using ExtensionSystem::PluginManager; - -/// -/// RunSettingsWidget -/// +// RunSettingsWidget RunSettingsWidget::RunSettingsWidget(Target *target) : m_target(target) @@ -552,3 +532,6 @@ void RunSettingsWidget::updateEnabledState() m_disabledText->setVisible(!enable && !reason.isEmpty()); m_disabledText->setText(reason); } + +} // Internal +} // ProjectExplorer