From 8b5beeb952448540a3834333b694919563d81ee2 Mon Sep 17 00:00:00 2001 From: hjk Date: Fri, 18 Jan 2019 12:10:14 +0100 Subject: [PATCH] Qbs: Remove unneeded QbsDeployConfiguration class It was an empty shell around the base class. Change-Id: I4e6dce0a559a940d20f90a25e02ce79166c17e3b Reviewed-by: Christian Kandeler --- .../qbsprojectmanager/qbsdeployconfigurationfactory.cpp | 9 +-------- .../qbsprojectmanager/qbsdeployconfigurationfactory.h | 8 -------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/plugins/qbsprojectmanager/qbsdeployconfigurationfactory.cpp b/src/plugins/qbsprojectmanager/qbsdeployconfigurationfactory.cpp index 8519e9b7093..60a4370ad44 100644 --- a/src/plugins/qbsprojectmanager/qbsdeployconfigurationfactory.cpp +++ b/src/plugins/qbsprojectmanager/qbsdeployconfigurationfactory.cpp @@ -27,22 +27,15 @@ #include "qbsprojectmanagerconstants.h" #include "qbsinstallstep.h" -#include "qbsproject.h" -#include #include namespace QbsProjectManager { namespace Internal { -QbsDeployConfiguration::QbsDeployConfiguration(ProjectExplorer::Target *target, Core::Id id) : - ProjectExplorer::DeployConfiguration(target, id) -{ -} - QbsDeployConfigurationFactory::QbsDeployConfigurationFactory() { - registerDeployConfiguration("Qbs.Deploy"); + registerDeployConfiguration("Qbs.Deploy"); addSupportedTargetDeviceType(ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE); setSupportedProjectType(Constants::PROJECT_ID); setDefaultDisplayName(QCoreApplication::translate("Qbs", "Qbs Install")); diff --git a/src/plugins/qbsprojectmanager/qbsdeployconfigurationfactory.h b/src/plugins/qbsprojectmanager/qbsdeployconfigurationfactory.h index 985312559be..588ac719735 100644 --- a/src/plugins/qbsprojectmanager/qbsdeployconfigurationfactory.h +++ b/src/plugins/qbsprojectmanager/qbsdeployconfigurationfactory.h @@ -30,14 +30,6 @@ namespace QbsProjectManager { namespace Internal { -class QbsDeployConfiguration : public ProjectExplorer::DeployConfiguration -{ - Q_OBJECT - -public: - QbsDeployConfiguration(ProjectExplorer::Target *target, Core::Id id); -}; - class QbsDeployConfigurationFactory : public ProjectExplorer::DeployConfigurationFactory { public: