From db345d57358b164d2c9326f699caec896d861900 Mon Sep 17 00:00:00 2001 From: laserpants Date: Tue, 22 Mar 2016 11:54:01 +0300 Subject: [PATCH] fill button background --- components/raisedbutton.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/components/raisedbutton.cpp b/components/raisedbutton.cpp index 72549c7..9f161a4 100644 --- a/components/raisedbutton.cpp +++ b/components/raisedbutton.cpp @@ -6,6 +6,7 @@ RaisedButton::RaisedButton(QWidget *parent) { CustomShadowEffect *effect = new CustomShadowEffect; setGraphicsEffect(effect); + setAutoFillBackground(true); } RaisedButton::~RaisedButton()