diff --git a/lib/theme.cpp b/lib/theme.cpp index 8beb9f9..4fd071d 100644 --- a/lib/theme.cpp +++ b/lib/theme.cpp @@ -2,11 +2,6 @@ #include #include "theme_p.h" -ThemePrivate::ThemePrivate(Theme *q) - : q_ptr(q) -{ -} - QColor ThemePrivate::rgba(int r, int g, int b, qreal a) const { QColor color(r, g, b); diff --git a/lib/theme_p.h b/lib/theme_p.h index bcbc345..ebcd96b 100644 --- a/lib/theme_p.h +++ b/lib/theme_p.h @@ -9,7 +9,9 @@ class ThemePrivate Q_DECLARE_PUBLIC(Theme) public: - ThemePrivate(Theme *q); + ThemePrivate(Theme *q) + : q_ptr(q) + {} QColor rgba(int r, int g, int b, qreal a) const;