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()