clean up pimpl code

This commit is contained in:
FarmRadio Hangar 2016-05-17 15:41:23 +03:00
parent 7c39d083bb
commit 5de589a271
2 changed files with 3 additions and 6 deletions

View File

@ -2,11 +2,6 @@
#include <QDebug>
#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);

View File

@ -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;