diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2011-11-22 14:37:19 +0100 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@nokia.com> | 2011-11-22 14:49:06 +0100 |
commit | 09f56a5c0d1b0bfb92f273e2ae250a640fc71ffc (patch) | |
tree | 2a8dd35c9f3e1f06ae6904878c11ffcdc55b3b8e /src/plugins/cpptools/cppcodestylesettingspage.ui | |
parent | 2f58fb95bc3f145e5cc5660a21b7103215d308cc (diff) | |
download | qt-creator-09f56a5c0d1b0bfb92f273e2ae250a640fc71ffc.tar.gz |
C++ code style: Improve tooltip.
Change-Id: Ib71e3b87bd07292b0aecdbec7ebfb1fcd0efea7e
Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com>
Diffstat (limited to 'src/plugins/cpptools/cppcodestylesettingspage.ui')
-rw-r--r-- | src/plugins/cpptools/cppcodestylesettingspage.ui | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppcodestylesettingspage.ui b/src/plugins/cpptools/cppcodestylesettingspage.ui index 0946e9ab7f..0ca280a2f4 100644 --- a/src/plugins/cpptools/cppcodestylesettingspage.ui +++ b/src/plugins/cpptools/cppcodestylesettingspage.ui @@ -357,7 +357,9 @@ a = a + <widget class="QCheckBox" name="extraPaddingConditions"> <property name="toolTip"> <string><html><head/><body> -The extra padding usually only affects if statement conditions. Without extra padding: +Adds an extra level of indentation to multiline conditions in the switch, if, while and foreach statements if they would otherwise have the same or less indentation than a nested statement. + +For four-spaces indentation only if statement conditions are affected. Without extra padding: <pre> if (a && b) |