forked from qt-creator/qt-creator
Qbs: Remove unneeded QbsDeployConfiguration class
It was an empty shell around the base class. Change-Id: I4e6dce0a559a940d20f90a25e02ce79166c17e3b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -27,22 +27,15 @@
|
|||||||
|
|
||||||
#include "qbsprojectmanagerconstants.h"
|
#include "qbsprojectmanagerconstants.h"
|
||||||
#include "qbsinstallstep.h"
|
#include "qbsinstallstep.h"
|
||||||
#include "qbsproject.h"
|
|
||||||
|
|
||||||
#include <projectexplorer/buildsteplist.h>
|
|
||||||
#include <projectexplorer/projectexplorerconstants.h>
|
#include <projectexplorer/projectexplorerconstants.h>
|
||||||
|
|
||||||
namespace QbsProjectManager {
|
namespace QbsProjectManager {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
QbsDeployConfiguration::QbsDeployConfiguration(ProjectExplorer::Target *target, Core::Id id) :
|
|
||||||
ProjectExplorer::DeployConfiguration(target, id)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
QbsDeployConfigurationFactory::QbsDeployConfigurationFactory()
|
QbsDeployConfigurationFactory::QbsDeployConfigurationFactory()
|
||||||
{
|
{
|
||||||
registerDeployConfiguration<QbsDeployConfiguration>("Qbs.Deploy");
|
registerDeployConfiguration<ProjectExplorer::DeployConfiguration>("Qbs.Deploy");
|
||||||
addSupportedTargetDeviceType(ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE);
|
addSupportedTargetDeviceType(ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE);
|
||||||
setSupportedProjectType(Constants::PROJECT_ID);
|
setSupportedProjectType(Constants::PROJECT_ID);
|
||||||
setDefaultDisplayName(QCoreApplication::translate("Qbs", "Qbs Install"));
|
setDefaultDisplayName(QCoreApplication::translate("Qbs", "Qbs Install"));
|
||||||
|
@@ -30,14 +30,6 @@
|
|||||||
namespace QbsProjectManager {
|
namespace QbsProjectManager {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
class QbsDeployConfiguration : public ProjectExplorer::DeployConfiguration
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
|
||||||
QbsDeployConfiguration(ProjectExplorer::Target *target, Core::Id id);
|
|
||||||
};
|
|
||||||
|
|
||||||
class QbsDeployConfigurationFactory : public ProjectExplorer::DeployConfigurationFactory
|
class QbsDeployConfigurationFactory : public ProjectExplorer::DeployConfigurationFactory
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Reference in New Issue
Block a user