summaryrefslogtreecommitdiffstats
path: root/src/gui/text
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@theqtcompany.com>2016-01-26 01:29:26 +0100
committerAndy Shaw <andy.shaw@theqtcompany.com>2016-01-26 22:34:28 +0000
commited70a645aac345cfbe46abe69046de8805c9c985 (patch)
treeee1de53036bacca35a2725695dc1adda385571cf /src/gui/text
parentd2997b92666f19ab86b9571f54ed9573fa057c30 (diff)
QWindowsVistaStyle: Reorder the if statement so the variable is checked first
Since the likelyhood that decoration_size is greater than 0 then we can save time with explicitly ensuring that it does not call the functions. Change-Id: Iaf991a6c77bbc4908c459307ca7e645cf3b3ca20 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Diffstat (limited to 'src/gui/text')
0 files changed, 0 insertions, 0 deletions