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 "qbsinstallstep.h"
|
||||
#include "qbsproject.h"
|
||||
|
||||
#include <projectexplorer/buildsteplist.h>
|
||||
#include <projectexplorer/projectexplorerconstants.h>
|
||||
|
||||
namespace QbsProjectManager {
|
||||
namespace Internal {
|
||||
|
||||
QbsDeployConfiguration::QbsDeployConfiguration(ProjectExplorer::Target *target, Core::Id id) :
|
||||
ProjectExplorer::DeployConfiguration(target, id)
|
||||
{
|
||||
}
|
||||
|
||||
QbsDeployConfigurationFactory::QbsDeployConfigurationFactory()
|
||||
{
|
||||
registerDeployConfiguration<QbsDeployConfiguration>("Qbs.Deploy");
|
||||
registerDeployConfiguration<ProjectExplorer::DeployConfiguration>("Qbs.Deploy");
|
||||
addSupportedTargetDeviceType(ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE);
|
||||
setSupportedProjectType(Constants::PROJECT_ID);
|
||||
setDefaultDisplayName(QCoreApplication::translate("Qbs", "Qbs Install"));
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user