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:
hjk
2019-01-18 12:10:14 +01:00
parent 59ac20b8d5
commit 8b5beeb952
2 changed files with 1 additions and 16 deletions

View File

@@ -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"));

View File

@@ -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: