2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Palette usage improvements.

This commit is contained in:
John Preston
2016-10-31 15:29:26 +03:00
parent dbb6371e67
commit e08f5437a6
101 changed files with 1105 additions and 1045 deletions

View File

@@ -24,6 +24,7 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
#include "settings/settings_inner_widget.h"
#include "settings/settings_fixed_bar.h"
#include "styles/style_settings.h"
#include "styles/style_boxes.h"
#include "ui/widgets/shadow.h"
#include "ui/scrollarea.h"
#include "mainwindow.h"
@@ -197,7 +198,7 @@ void Widget::showDone() {
void Widget::paintEvent(QPaintEvent *e) {
Painter p(this);
p.fillRect(rect(), st::windowBg);
p.fillRect(e->rect(), st::settingsBg);
}
void Widget::resizeEvent(QResizeEvent *e) {