From fcebfa799f59584ff59e5baed48baf3ad5ea4f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 3 Feb 2014 11:37:04 +0100 Subject: [PATCH] [kwin] Fix ordering --warnings --- kcmkwin/kwindecoration/preview.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kcmkwin/kwindecoration/preview.cpp b/kcmkwin/kwindecoration/preview.cpp index b6e2ef9980..12eef4a0d4 100644 --- a/kcmkwin/kwindecoration/preview.cpp +++ b/kcmkwin/kwindecoration/preview.cpp @@ -255,14 +255,16 @@ QRegion KDecorationPreview::unobscuredRegion(bool active, const QRegion& r) cons } KDecorationPreviewBridge::KDecorationPreviewBridge(KDecorationPreview* p, bool a) - : preview(p), active(a), m_previewItem(nullptr) + : preview(p) + , m_previewItem(nullptr) + , active(a) { } KDecorationPreviewBridge::KDecorationPreviewBridge(PreviewItem *p, bool a) : preview(nullptr) - , active(a) , m_previewItem(p) + , active(a) { }