aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols2/qquickchecklabel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Optimize CheckBox, Switch, and RadioButtonJ-P Nurmi2017-11-021-0/+49
Add an internal CheckLabel helper that simply initializes a few QQuickText properties with defaults that are suitable for CheckBox, Switch, and RadioButton. This gives a 10% boost on desktop in debug mode, and a 5% boost on a TX1 in release mode. Change-Id: I82fead9ca22b6aa74f24924d240c924b2a42a912 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>