From 8ba422d07c4371a47b575bdef3051554cd4063e0 Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Mon, 3 Sep 2012 18:31:44 +0200 Subject: s/profile/kit/ * Rename profiles to kits. * Update some strings: * projects mode has a Kits tab, not a Targets tab. * " Settings" was dropped from the sub-tabs of the Kits tab * menu entry "Build/Open Build/Run Target Selector" was renamed to "Build/Open Build and Run Kits Selector". * Use "Kit" instead of "Target" in miniprojecttargetselector. (The class was not renamed as it does indeed select targets, not kits) Change-Id: I0727e086e2dfa0e8aaaf89fdc6f2e3596c7a4314 Reviewed-by: Eike Ziller --- src/plugins/remotelinux/remotelinuxenvironmentreader.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/plugins/remotelinux/remotelinuxenvironmentreader.cpp') diff --git a/src/plugins/remotelinux/remotelinuxenvironmentreader.cpp b/src/plugins/remotelinux/remotelinuxenvironmentreader.cpp index 0939261785..44f3be7c30 100644 --- a/src/plugins/remotelinux/remotelinuxenvironmentreader.cpp +++ b/src/plugins/remotelinux/remotelinuxenvironmentreader.cpp @@ -32,7 +32,7 @@ #include #include -#include +#include #include #include @@ -44,16 +44,16 @@ namespace Internal { RemoteLinuxEnvironmentReader::RemoteLinuxEnvironmentReader(RunConfiguration *config, QObject *parent) : QObject(parent) , m_stop(false) - , m_profile(config->target()->profile()) + , m_kit(config->target()->kit()) , m_remoteProcessRunner(0) { - connect(config->target(), SIGNAL(profileChanged()), + connect(config->target(), SIGNAL(kitChanged()), this, SLOT(handleCurrentDeviceConfigChanged())); } void RemoteLinuxEnvironmentReader::start(const QString &environmentSetupCommand) { - IDevice::ConstPtr device = DeviceProfileInformation::device(m_profile); + IDevice::ConstPtr device = DeviceKitInformation::device(m_kit); if (!device) return; m_stop = false; -- cgit v1.2.1