ProjectExplorer: Set CustomRunConfiguration default name

It apparently showed up completely empty in the "Run configuration"
combobox after "Add".

Change-Id: I4fa40c54f9bfe9240070bb6fabeba35b1d885a01
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2018-02-16 17:27:05 +01:00
parent 231a9d2c58
commit 42d2c15239

View File

@@ -88,6 +88,7 @@ CustomExecutableRunConfiguration::CustomExecutableRunConfiguration(Target *targe
addExtraAspect(new LocalEnvironmentAspect(this, LocalEnvironmentAspect::BaseEnvironmentModifier())); addExtraAspect(new LocalEnvironmentAspect(this, LocalEnvironmentAspect::BaseEnvironmentModifier()));
addExtraAspect(new ArgumentsAspect(this, "ProjectExplorer.CustomExecutableRunConfiguration.Arguments")); addExtraAspect(new ArgumentsAspect(this, "ProjectExplorer.CustomExecutableRunConfiguration.Arguments"));
addExtraAspect(new TerminalAspect(this, "ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal")); addExtraAspect(new TerminalAspect(this, "ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal"));
setDefaultDisplayName(defaultDisplayName());
} }
// Note: Qt4Project deletes all empty customexecrunconfigs for which isConfigured() == false. // Note: Qt4Project deletes all empty customexecrunconfigs for which isConfigured() == false.