ProjectExplorer: Placeholder for custom executable

Previously when creating a custom executable run config, the
path chooser would display a red "<unknown>". This improves
the message to tell the user whats needed.

Change-Id: Ib521cde1a4f5b836cb865428f65f956a63bce3b4
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Marcus Tillmanns
2023-05-24 09:16:59 +02:00
parent c124e837c5
commit aace4c44fa

View File

@@ -502,7 +502,7 @@ ExecutableAspect::ExecutableAspect(Target *target, ExecutionDeviceSelector selec
setId("ExecutableAspect");
addDataExtractor(this, &ExecutableAspect::executable, &Data::executable);
m_executable.setPlaceHolderText(Tr::tr("<unknown>"));
m_executable.setPlaceHolderText(Tr::tr("path to the executable cannot be empty"));
m_executable.setLabelText(Tr::tr("Executable:"));
m_executable.setDisplayStyle(StringAspect::LabelDisplay);