forked from qt-creator/qt-creator
RemoteLinux: Fix creation of environment aspect widget
This was forgotten in ae9fff17a1
.
Task-number: QTCREATORBUG-18167
Change-Id: Ib1e3d06ee822dff6b991d967b2f68148cc9c55c6
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -35,18 +35,15 @@ namespace RemoteLinux {
|
||||
|
||||
RemoteLinuxEnvironmentAspect::RemoteLinuxEnvironmentAspect(ProjectExplorer::RunConfiguration *rc) :
|
||||
ProjectExplorer::EnvironmentAspect(rc)
|
||||
{ }
|
||||
{
|
||||
setRunConfigWidgetCreator([this] { return new RemoteLinuxEnvironmentAspectWidget(this); });
|
||||
}
|
||||
|
||||
RemoteLinuxEnvironmentAspect *RemoteLinuxEnvironmentAspect::create(ProjectExplorer::RunConfiguration *parent) const
|
||||
{
|
||||
return new RemoteLinuxEnvironmentAspect(parent);
|
||||
}
|
||||
|
||||
ProjectExplorer::RunConfigWidget *RemoteLinuxEnvironmentAspect::createConfigurationWidget()
|
||||
{
|
||||
return new RemoteLinuxEnvironmentAspectWidget(this);
|
||||
}
|
||||
|
||||
QList<int> RemoteLinuxEnvironmentAspect::possibleBaseEnvironments() const
|
||||
{
|
||||
return QList<int>() << static_cast<int>(RemoteBaseEnvironment)
|
||||
|
@@ -30,7 +30,6 @@
|
||||
#include <projectexplorer/environmentaspect.h>
|
||||
|
||||
namespace RemoteLinux {
|
||||
class RemoteLinuxEnvironmentAspectWidget;
|
||||
|
||||
class REMOTELINUX_EXPORT RemoteLinuxEnvironmentAspect : public ProjectExplorer::EnvironmentAspect
|
||||
{
|
||||
@@ -39,7 +38,6 @@ class REMOTELINUX_EXPORT RemoteLinuxEnvironmentAspect : public ProjectExplorer::
|
||||
public:
|
||||
RemoteLinuxEnvironmentAspect(ProjectExplorer::RunConfiguration *rc);
|
||||
RemoteLinuxEnvironmentAspect *create(ProjectExplorer::RunConfiguration *parent) const;
|
||||
ProjectExplorer::RunConfigWidget *createConfigurationWidget();
|
||||
|
||||
QList<int> possibleBaseEnvironments() const;
|
||||
QString baseEnvironmentDisplayName(int base) const;
|
||||
|
Reference in New Issue
Block a user