diff options
author | hjk <hjk@qt.io> | 2018-09-12 13:40:37 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-09-13 07:32:57 +0000 |
commit | 35b941462ece5d72ba07c841c26eacdbf06c34fc (patch) | |
tree | aea15f999e12cf9305b4ae85c062cec933923e6e /src/plugins/remotelinux | |
parent | f66770cde19579d2e6f2dc88ba9bb6abfe0d821f (diff) | |
download | qt-creator-35b941462ece5d72ba07c841c26eacdbf06c34fc.tar.gz |
ProjectExplorer: Remove RunConfigWidget wrapper class
Not really needed, a QWidget does the job, too, and de-emphasizes
then 'Run' bit. The display name is now taken always from the
aspect, but that's what was the practically the case before,
albeit with different implementations.
Change all names to *[cC]onfigWidget* (in line with ISettingsAspect).
Change-Id: Ida0409a2dd0b175dd5ce4202f9b9e94b3f2db421
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/remotelinux')
-rw-r--r-- | src/plugins/remotelinux/remotelinuxenvironmentaspect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/remotelinux/remotelinuxenvironmentaspect.cpp b/src/plugins/remotelinux/remotelinuxenvironmentaspect.cpp index 385c9f4f36..ccc4670b5e 100644 --- a/src/plugins/remotelinux/remotelinuxenvironmentaspect.cpp +++ b/src/plugins/remotelinux/remotelinuxenvironmentaspect.cpp @@ -53,7 +53,7 @@ RemoteLinuxEnvironmentAspect::RemoteLinuxEnvironmentAspect(ProjectExplorer::RunC addSupportedBaseEnvironment(CleanBaseEnvironment, tr("Clean Environment")); addPreferredBaseEnvironment(RemoteBaseEnvironment, tr("System Environment")); - setRunConfigWidgetCreator([this, rc] { + setConfigWidgetCreator([this, rc] { return new RemoteLinuxEnvironmentAspectWidget(this, rc->target()); }); } |