From 41191817629cb447a70497c9f3b4da6d7513c92c Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Mon, 12 Sep 2022 17:36:52 +0200 Subject: CppEditor: Make value vs const ref return type configurable ... in the quickfix settings. Also change the default: With mandatory RVO and move semantics, value return types are the right choice most of the time. Fixes: QTCREATORBUG-25790 Change-Id: I68fc6c616358478ba893101b3e04aa6bbbe79348 Reviewed-by: Reviewed-by: Christian Stenger Reviewed-by: Leena Miettinen --- src/plugins/cppeditor/cppquickfixsettingswidget.ui | 24 ++++++++++------------ 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'src/plugins/cppeditor/cppquickfixsettingswidget.ui') diff --git a/src/plugins/cppeditor/cppquickfixsettingswidget.ui b/src/plugins/cppeditor/cppquickfixsettingswidget.ui index 44ad80f9180..692eddda9bc 100644 --- a/src/plugins/cppeditor/cppquickfixsettingswidget.ui +++ b/src/plugins/cppeditor/cppquickfixsettingswidget.ui @@ -7,7 +7,7 @@ 0 0 641 - 1074 + 1141 @@ -25,9 +25,6 @@ Default - - Qt::AlignCenter - @@ -329,9 +326,6 @@ Default - - Qt::AlignCenter - @@ -350,9 +344,6 @@ Generate Getters - - Qt::AlignCenter - @@ -371,9 +362,6 @@ Generate Setters - - Qt::AlignCenter - @@ -886,6 +874,16 @@ + + + + Return non-value types by const reference + + + false + + + -- cgit v1.2.3