aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-11-07 12:22:29 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2019-11-07 11:53:37 +0000
commitefa98329129317068909bee1c91a4dd6b26bd621 (patch)
tree1ad4dd59fa41b859f1cdae04644574ae2f99ee3e /src/plugins/projectexplorer/customexecutablerunconfiguration.cpp
parent8e4fb0553291ec64e5b2868fed161b574cb53ae2 (diff)
LayoutBuilder: Allow for more compact code at calling sites
Change-Id: I12bb6dbfc138e03138b9a74d36e864d8ea36092f Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/customexecutablerunconfiguration.cpp')
-rw-r--r--src/plugins/projectexplorer/customexecutablerunconfiguration.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp b/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp
index e3dfd2f1a0..5903379da4 100644
--- a/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp
+++ b/src/plugins/projectexplorer/customexecutablerunconfiguration.cpp
@@ -126,9 +126,7 @@ CustomExecutableDialog::CustomExecutableDialog(RunConfiguration *rc)
{
LayoutBuilder builder(detailsWidget);
- builder.addItem(tr("Executable:"));
- builder.addItem(m_executableChooser);
- builder.startNewRow();
+ builder.addItems(tr("Executable:"), m_executableChooser).startNewRow();
m_arguments.addToLayout(builder);
m_workingDirectory.addToLayout(builder);
m_terminal.addToLayout(builder);