mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Show explaining preview of forwards privacy.
This commit is contained in:
@@ -72,10 +72,9 @@ void SectionWidget::showFast() {
|
||||
showFinished();
|
||||
}
|
||||
|
||||
void SectionWidget::PaintBackground(QWidget *widget, QPaintEvent *event) {
|
||||
void SectionWidget::PaintBackground(not_null<QWidget*> widget, QRect clip) {
|
||||
Painter p(widget);
|
||||
|
||||
auto clip = event->rect();
|
||||
auto fill = QRect(0, 0, widget->width(), App::main()->height());
|
||||
if (const auto color = Window::Theme::Background()->colorForFill()) {
|
||||
p.fillRect(fill, *color);
|
||||
|
Reference in New Issue
Block a user