forked from qt-creator/qt-creator
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 <eike.ziller@nokia.com>
This commit is contained in:
committed by
Eike Ziller
parent
328d205b62
commit
8ba422d07c
@@ -39,7 +39,7 @@
|
||||
#include "debuggerplugin.h"
|
||||
#include "debuggerstringutils.h"
|
||||
#include "debuggerstartparameters.h"
|
||||
#include "debuggerprofileinformation.h"
|
||||
#include "debuggerkitinformation.h"
|
||||
#include "lldb/lldbenginehost.h"
|
||||
#include "debuggertooltipmanager.h"
|
||||
|
||||
@@ -485,8 +485,8 @@ static DebuggerStartParameters localStartParameters(RunConfiguration *runConfigu
|
||||
QTC_ASSERT(rc, return sp);
|
||||
|
||||
Target *target = runConfiguration->target();
|
||||
Profile *profile = target ? target->profile() : ProfileManager::instance()->defaultProfile();
|
||||
fillParameters(&sp, profile);
|
||||
Kit *kit = target ? target->kit() : KitManager::instance()->defaultKit();
|
||||
fillParameters(&sp, kit);
|
||||
sp.environment = rc->environment();
|
||||
sp.workingDirectory = rc->workingDirectory();
|
||||
|
||||
@@ -624,7 +624,7 @@ static void fixupEngineTypes(DebuggerStartParameters &sp, RunConfiguration *rc)
|
||||
if (rc) {
|
||||
DebuggerRunConfigurationAspect *aspect = rc->debuggerAspect();
|
||||
if (const Target *target = rc->target())
|
||||
fillParameters(&sp, target->profile());
|
||||
fillParameters(&sp, target->kit());
|
||||
const bool useCppDebugger = aspect->useCppDebugger();
|
||||
const bool useQmlDebugger = aspect->useQmlDebugger();
|
||||
if (useQmlDebugger) {
|
||||
|
Reference in New Issue
Block a user