diff options
author | hjk <[email protected]> | 2018-07-30 13:10:38 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2018-08-21 08:00:46 +0000 |
commit | 98f3b961c6f0f50612cf94ccac4476a93ded3135 (patch) | |
tree | 2e18b3a73c720040cfd5e5af1475ee323cf16185 /src/plugins/ios/iosrunconfiguration.cpp | |
parent | 9f9c72302f60a872d15c5dd1ffa900961dad9014 (diff) |
Unify key names for various fields in stored RunConfigurations
This replaces various versions of the key name of the arguments,
working directory, use terminal and use dyld image suffix fields
by unified versions ("RunConfiguration.Arguments",
"RunConfiguration.WorkingDirectory", "RunConfiguration.UseTerminal",
"RunConfiguration.UseDyldImageSuffix").
The different names for the fields are technically not needed
(as proven by several cases that already now used the same key),
partially outdated ("Qt4ProjectManager.MaemoRunConfiguration.Arguments")
make RunConfiguration constructors less uniform and more complex
than needed.
The "RunConfiguration." prefix in the new names is not needed, but used
by several other settings, so having it there looks more uniform now.
In (the unexpected case) that different keys would ever be necessary,
the default key name could still be overridden by using setSettingsKey
from user code.
Change-Id: Ifb74ad74e0a9c724c8bf5e71e1bb2424d5d1831b
Reviewed-by: Christian Kandeler <[email protected]>
Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/ios/iosrunconfiguration.cpp')
-rw-r--r-- | src/plugins/ios/iosrunconfiguration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/ios/iosrunconfiguration.cpp b/src/plugins/ios/iosrunconfiguration.cpp index 092500de6d4..6f0d53684e4 100644 --- a/src/plugins/ios/iosrunconfiguration.cpp +++ b/src/plugins/ios/iosrunconfiguration.cpp @@ -97,7 +97,7 @@ private: IosRunConfiguration::IosRunConfiguration(Target *target, Core::Id id) : RunConfiguration(target, id) { - addExtraAspect(new ArgumentsAspect(this, "Ios.run_arguments")); + addExtraAspect(new ArgumentsAspect(this)); setOutputFormatter<QtSupport::QtOutputFormatter>(); connect(DeviceManager::instance(), &DeviceManager::updated, |