From 7a044269008e9bd97d6a54656b7f658871a43d47 Mon Sep 17 00:00:00 2001 From: laserpants Date: Tue, 22 Mar 2016 12:20:58 +0300 Subject: [PATCH] type of color property should be QColor --- lib/customshadoweffect.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/customshadoweffect.h b/lib/customshadoweffect.h index 43d0bec..9231851 100644 --- a/lib/customshadoweffect.h +++ b/lib/customshadoweffect.h @@ -12,7 +12,7 @@ class CustomShadowEffect : public QGraphicsEffect Q_PROPERTY(qreal distance WRITE setDistance READ distance) Q_PROPERTY(qreal blurRadius WRITE setBlurRadius READ blurRadius) - Q_PROPERTY(qreal color WRITE setColor READ color) + Q_PROPERTY(QColor color WRITE setColor READ color) public: explicit CustomShadowEffect(QObject *parent = 0);