ProjectExplorer: RunSettingsWidget code cosmetics

Namespaces, #includes, unused bits.

Change-Id: I13704948204a13d91cff1a48b8f3ed189ea0bf44
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-07-31 18:27:29 +02:00
parent ab665da16f
commit 6cb17fcae9

View File

@@ -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 <extensionsystem/pluginmanager.h>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/buildmanager.h>
#include <utils/algorithm.h>
#include <utils/qtcassert.h>
#include <utils/stringutils.h>
#include <utils/utilsicons.h>
#include <QVariant>
#include <QAction>
#include <QComboBox>
#include <QGridLayout>
@@ -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