summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2012-06-13 14:50:00 +0200
committerhjk <qthjk@ovi.com>2012-06-19 12:46:23 +0200
commit7853297f77a664db324f6d93c29a75339a614c19 (patch)
tree286722e9ae90a1c931b0021aac219d72a5d5b6db /src/plugins/remotelinux
parentb2f6c7223d6aa9b1c43423c8ed5c7170c920e9e4 (diff)
downloadqt-creator-7853297f77a664db324f6d93c29a75339a614c19.tar.gz
runconfig: consolidate createConfigurationWidget implementations
Most derived classes used essentially identical 'return 0;' implementations. Use a base class implementation doing that instead. Change-Id: I99727ac2230a5d9f168b4b0eb5927f8efff44e64 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/remotelinux')
-rw-r--r--src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp6
-rw-r--r--src/plugins/remotelinux/remotelinuxruncontrolfactory.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp b/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
index 9df855da89..28b40a4e87 100644
--- a/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
+++ b/src/plugins/remotelinux/remotelinuxruncontrolfactory.cpp
@@ -101,11 +101,5 @@ QString RemoteLinuxRunControlFactory::displayName() const
return tr("Run on remote Linux device");
}
-RunConfigWidget *RemoteLinuxRunControlFactory::createConfigurationWidget(RunConfiguration *config)
-{
- Q_UNUSED(config)
- return 0;
-}
-
} // namespace Internal
} // namespace RemoteLinux
diff --git a/src/plugins/remotelinux/remotelinuxruncontrolfactory.h b/src/plugins/remotelinux/remotelinuxruncontrolfactory.h
index 6f265449cf..aa46345dee 100644
--- a/src/plugins/remotelinux/remotelinuxruncontrolfactory.h
+++ b/src/plugins/remotelinux/remotelinuxruncontrolfactory.h
@@ -44,7 +44,6 @@ public:
~RemoteLinuxRunControlFactory();
QString displayName() const;
- ProjectExplorer::RunConfigWidget *createConfigurationWidget(ProjectExplorer::RunConfiguration *runConfiguration);
bool canRun(ProjectExplorer::RunConfiguration *runConfiguration,
ProjectExplorer::RunMode mode) const;