C++ code style: Improve tooltip.

Change-Id: Ib71e3b87bd07292b0aecdbec7ebfb1fcd0efea7e
Reviewed-by: Jarek Kobus <jaroslaw.kobus@nokia.com>
This commit is contained in:
Christian Kamm
2011-11-22 14:37:19 +01:00
committed by Jarek Kobus
parent 2f58fb95bc
commit 09f56a5c0d

View File

@@ -357,7 +357,9 @@ a = a +
<widget class="QCheckBox" name="extraPaddingConditions"> <widget class="QCheckBox" name="extraPaddingConditions">
<property name="toolTip"> <property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt; <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;
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:
&lt;pre&gt; &lt;pre&gt;
if (a &amp;&amp; if (a &amp;&amp;
b) b)