From b43e62ce6d989f2da1457561365e1fe3596e7561 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 19 Jan 2017 11:20:11 +0100 Subject: Re-format constructors It was a bit inconsistent before. Admittedly the colon at the end was the most commonly used style in the quicktemplates2 code base, but some had a line-break before the colon. This is now chosen as the one true coding style of QQC2. ;) It makes the initializer list aligned so that it stands out from the constructor body. Change-Id: I66835e088df90d7219af04915176006d2a934ddc Reviewed-by: Mitch Curtis --- src/quicktemplates2/qquickpopupitem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/quicktemplates2/qquickpopupitem.cpp') diff --git a/src/quicktemplates2/qquickpopupitem.cpp b/src/quicktemplates2/qquickpopupitem.cpp index 75a23556..8c05c8be 100644 --- a/src/quicktemplates2/qquickpopupitem.cpp +++ b/src/quicktemplates2/qquickpopupitem.cpp @@ -98,8 +98,8 @@ QQuickItem *QQuickPopupItemPrivate::getContentItem() return contentItem; } -QQuickPopupItem::QQuickPopupItem(QQuickPopup *popup) : - QQuickControl(*(new QQuickPopupItemPrivate(popup)), nullptr) +QQuickPopupItem::QQuickPopupItem(QQuickPopup *popup) + : QQuickControl(*(new QQuickPopupItemPrivate(popup)), nullptr) { setParent(popup); setVisible(false); -- cgit v1.2.3