aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickcheckbox.cpp
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-01-19 10:28:27 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2017-01-19 10:34:31 +0000
commit20a613ba5e04f4d899bef8a67850cfefe8111453 (patch)
tree9c484e38e7b38b05c35fa6f8223e4b334be5e5e7 /src/quicktemplates2/qquickcheckbox.cpp
parent0c65ffef9b021555c03081e4e60e91a268d46c98 (diff)
Format initializer lists
Initialize one member per line. Allow empty constructors with one initialized member on a single line. Change-Id: Ie115802561ebd19efd4dacda1fa868b64d279109 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickcheckbox.cpp')
-rw-r--r--src/quicktemplates2/qquickcheckbox.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/quicktemplates2/qquickcheckbox.cpp b/src/quicktemplates2/qquickcheckbox.cpp
index dd36121e..72b1c5a4 100644
--- a/src/quicktemplates2/qquickcheckbox.cpp
+++ b/src/quicktemplates2/qquickcheckbox.cpp
@@ -92,7 +92,8 @@ class QQuickCheckBoxPrivate : public QQuickAbstractButtonPrivate
public:
QQuickCheckBoxPrivate()
- : tristate(false), checkState(Qt::Unchecked)
+ : tristate(false),
+ checkState(Qt::Unchecked)
{
}