From 21efa8804254772b8ffa2b681f86e71461cd7de9 Mon Sep 17 00:00:00 2001 From: laserpants Date: Tue, 21 Jun 2016 16:38:17 +0300 Subject: [PATCH] move object construction to initialization list --- lib/rippleoverlay.h | 4 ++-- lib/transparencyproxy_p.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/rippleoverlay.h b/lib/rippleoverlay.h index 011e701..9463cbf 100644 --- a/lib/rippleoverlay.h +++ b/lib/rippleoverlay.h @@ -31,8 +31,8 @@ protected slots: private: QList ripples; - QPainterPath clipPath; - bool useClip; + QPainterPath clipPath; + bool useClip; }; #endif // RIPPLEOVERLAY_H diff --git a/lib/transparencyproxy_p.h b/lib/transparencyproxy_p.h index 4c33f7d..50aaff1 100644 --- a/lib/transparencyproxy_p.h +++ b/lib/transparencyproxy_p.h @@ -18,8 +18,8 @@ public: void init(); TransparencyProxy *const q_ptr; - QWidget *widget; - ProxyWidget *proxy; + QWidget *widget; + ProxyWidget *proxy; }; #endif // TRANSPARENCYPROXY_P_H