From d0959864e73a6024243f7926d873a32752674d48 Mon Sep 17 00:00:00 2001 From: laserpants Date: Thu, 12 May 2016 23:55:19 +0300 Subject: [PATCH] move #endif directive in private header files --- components/slider_p.h | 4 ++-- lib/theme_p.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/slider_p.h b/components/slider_p.h index efeb5f9..9d3d767 100644 --- a/components/slider_p.h +++ b/components/slider_p.h @@ -38,6 +38,8 @@ public: int trackWidth; }; +#endif // SLIDER_P_H + SliderPrivate::SliderPrivate(Slider *parent) : q_ptr(parent), thumb(new SliderThumb(parent)), @@ -127,5 +129,3 @@ void SliderPrivate::setHovered(bool status) q->update(); } } - -#endif // SLIDER_P_H diff --git a/lib/theme_p.h b/lib/theme_p.h index 063bd8b..d1b4e59 100644 --- a/lib/theme_p.h +++ b/lib/theme_p.h @@ -18,6 +18,8 @@ public: QHash colors; }; +#endif // THEME_P_H + ThemePrivate::ThemePrivate(Theme *parent) : q_ptr(parent) { @@ -29,5 +31,3 @@ QColor ThemePrivate::rgba(int r, int g, int b, qreal a) const color.setAlphaF(a); return color; } - -#endif // THEME_P_H