diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2022-09-19 16:14:07 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2022-09-22 13:26:20 +0000 |
commit | 0f7a539262f8ee7c9aa113e95153d19a3cdd79a6 (patch) | |
tree | ea3aa9c08e25627d9c76ba7d9d06f854dbcdaf4e /src/plugins/cppeditor/cppquickfixsettingswidget.ui | |
parent | a8397c129fd70a85a80518947e69897f2ec26ca8 (diff) |
CppEditor: Let user decide whether to use "auto"
... in "Assign to Local Variable" quickfix.
Fixes: QTCREATORBUG-28099
Change-Id: I3640ef3d1e069bb2cac4d78f0ae60726b131c4fe
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/cppquickfixsettingswidget.ui')
-rw-r--r-- | src/plugins/cppeditor/cppquickfixsettingswidget.ui | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/cppeditor/cppquickfixsettingswidget.ui b/src/plugins/cppeditor/cppquickfixsettingswidget.ui index 692eddda9b..828759003f 100644 --- a/src/plugins/cppeditor/cppquickfixsettingswidget.ui +++ b/src/plugins/cppeditor/cppquickfixsettingswidget.ui @@ -647,6 +647,16 @@ </widget> </item> <item> + <widget class="QCheckBox" name="useAutoCheckBox"> + <property name="toolTip"> + <string><html><head/><body><p>Uncheck this to make Qt Creator try to derive the type of expression in the &quot;Assign to Local Variable&quot; quickfix.</p><p>Note that this might fail for more complex types.</p></body></html></string> + </property> + <property name="text"> + <string>Use type "auto" when creating new variables</string> + </property> + </widget> + </item> + <item> <widget class="QGroupBox" name="groupBox_3"> <property name="title"> <string>Custom Getter Setter Templates</string> |