ProjectExplorer: Rename X11Forward checker name

Forward to local display sounded as if selecting the checkbox would
forward X11 to the local display, instead of what entered in the text field.

Changing it to "Enabled" is supposed to make it clear that this checkbox
enables X11 Forwarding completely.

Change-Id: I77655a12b017f905b3dd4b125608cf456191f91a
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Marcus Tillmanns
2024-10-22 16:44:21 +02:00
parent a044dd4a08
commit be243b366d

View File

@@ -955,8 +955,7 @@ X11ForwardingAspect::X11ForwardingAspect(AspectContainer *container)
setDisplayStyle(LineEditDisplay); setDisplayStyle(LineEditDisplay);
setId("X11ForwardingAspect"); setId("X11ForwardingAspect");
setSettingsKey("RunConfiguration.X11Forwarding"); setSettingsKey("RunConfiguration.X11Forwarding");
makeCheckable(CheckBoxPlacement::Right, Tr::tr("Forward to local display"), makeCheckable(CheckBoxPlacement::Right, Tr::tr("Enable"), "RunConfiguration.UseX11Forwarding");
"RunConfiguration.UseX11Forwarding");
setValue(defaultDisplay()); setValue(defaultDisplay());
addDataExtractor(this, &X11ForwardingAspect::display, &Data::display); addDataExtractor(this, &X11ForwardingAspect::display, &Data::display);