From 20a613ba5e04f4d899bef8a67850cfefe8111453 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 19 Jan 2017 10:28:27 +0100 Subject: 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 --- src/quicktemplates2/qquickdrawer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/quicktemplates2/qquickdrawer.cpp') diff --git a/src/quicktemplates2/qquickdrawer.cpp b/src/quicktemplates2/qquickdrawer.cpp index 91356b1d..e6ea747d 100644 --- a/src/quicktemplates2/qquickdrawer.cpp +++ b/src/quicktemplates2/qquickdrawer.cpp @@ -161,7 +161,9 @@ QT_BEGIN_NAMESPACE */ QQuickDrawerPrivate::QQuickDrawerPrivate() - : edge(Qt::LeftEdge), offset(0), position(0), + : edge(Qt::LeftEdge), + offset(0), + position(0), dragMargin(QGuiApplication::styleHints()->startDragDistance()) { setEdge(Qt::LeftEdge); -- cgit v1.2.3