Commit 90c7427b authored by Tobias Hunger's avatar Tobias Hunger
Browse files

ProjectExplorer: Make settingsaccessor more clear



Do not hide two strings getting concatenated inside long string lists,
use nullptr instead of 0.

Change-Id: I9b873295a24c1f5b0a9ce2c43ace050e3ff2329c
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent 623a9fc6
......@@ -1623,43 +1623,41 @@ QVariantMap UserFileVersion7Upgrader::upgrade(const QVariantMap &map)
static const char * const argListKeys[] = {
"ProjectExplorer.Project.Target.",
"ProjectExplorer.Target.BuildConfiguration."
"|ProjectExplorer.Target.DeployConfiguration.",
"ProjectExplorer.BuildConfiguration.BuildStepList.",
"ProjectExplorer.BuildStepList.Step.",
"GenericProjectManager.GenericMakeStep.MakeArguments",
"QtProjectManager.QMakeBuildStep.QMakeArguments",
"Qt4ProjectManager.MakeStep.MakeArguments",
"CMakeProjectManager.MakeStep.AdditionalArguments",
0,
0,
0,
"ProjectExplorer.Target.RunConfiguration.",
"ProjectExplorer.CustomExecutableRunConfiguration.Arguments",
"Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments",
"CMakeProjectManager.CMakeRunConfiguration.Arguments",
0,
0,
0
"ProjectExplorer.Target.BuildConfiguration.|ProjectExplorer.Target.DeployConfiguration.",
"ProjectExplorer.BuildConfiguration.BuildStepList.",
"ProjectExplorer.BuildStepList.Step.",
"GenericProjectManager.GenericMakeStep.MakeArguments",
"QtProjectManager.QMakeBuildStep.QMakeArguments",
"Qt4ProjectManager.MakeStep.MakeArguments",
"CMakeProjectManager.MakeStep.AdditionalArguments",
nullptr,
nullptr,
nullptr,
"ProjectExplorer.Target.RunConfiguration.",
"ProjectExplorer.CustomExecutableRunConfiguration.Arguments",
"Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments",
"CMakeProjectManager.CMakeRunConfiguration.Arguments",
nullptr,
nullptr,
nullptr
};
static const char * const lameArgListKeys[] = {
"ProjectExplorer.Project.Target.",
"ProjectExplorer.Target.BuildConfiguration."
"|ProjectExplorer.Target.DeployConfiguration.",
"ProjectExplorer.BuildConfiguration.BuildStepList.",
"ProjectExplorer.BuildStepList.Step.",
"ProjectExplorer.ProcessStep.Arguments",
0,
0,
0,
"ProjectExplorer.Target.RunConfiguration.",
"Qt4ProjectManager.MaemoRunConfiguration.Arguments",
"Qt4ProjectManager.S60DeviceRunConfiguration.CommandLineArguments",
"QmlProjectManager.QmlRunConfiguration.QDeclarativeViewerArguments",
0,
0,
0
"ProjectExplorer.Target.BuildConfiguration.|ProjectExplorer.Target.DeployConfiguration.",
"ProjectExplorer.BuildConfiguration.BuildStepList.",
"ProjectExplorer.BuildStepList.Step.",
"ProjectExplorer.ProcessStep.Arguments",
nullptr,
nullptr,
nullptr,
"ProjectExplorer.Target.RunConfiguration.",
"Qt4ProjectManager.MaemoRunConfiguration.Arguments",
"Qt4ProjectManager.S60DeviceRunConfiguration.CommandLineArguments",
"QmlProjectManager.QmlRunConfiguration.QDeclarativeViewerArguments",
nullptr,
nullptr,
nullptr
};
inline static bool isSpecialChar(ushort c)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment