added basic download icon to the window frame

This commit is contained in:
fourtf
2018-07-04 20:42:51 +02:00
parent 3303de18cd
commit 335cbf8758
10 changed files with 87 additions and 8 deletions
+4 -2
View File
@@ -20,7 +20,7 @@ void TitleBarButton::setButtonStyle(Style _style)
this->update();
}
void TitleBarButton::paintEvent(QPaintEvent *)
void TitleBarButton::paintEvent(QPaintEvent *event)
{
QPainter painter(this);
@@ -115,9 +115,11 @@ void TitleBarButton::paintEvent(QPaintEvent *)
painter.restore();
break;
}
default:;
}
this->fancyPaint(painter);
RippleEffectButton::paintEvent(event);
// this->fancyPaint(painter);
}
} // namespace chatterino