2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

fixed linux fonts reading in qt 5.4.0, fixed scrollbars colors

This commit is contained in:
John Preston
2015-02-13 21:09:01 +03:00
parent 27c69895ce
commit f7a5de3cc9
5 changed files with 64 additions and 867 deletions

View File

@@ -1614,6 +1614,8 @@ HistoryWidget::HistoryWidget(QWidget *parent) : QWidget(parent)
_scroll.hide();
_scroll.move(0, 0);
updateScrollColors();
_toHistoryEnd.hide();
_field.hide();
@@ -3272,6 +3274,7 @@ void HistoryWidget::itemResized(HistoryItem *row) {
}
void HistoryWidget::updateScrollColors() {
if (!App::historyScrollBarColor()) return;
_scroll.updateColors(App::historyScrollBarColor(), App::historyScrollBgColor(), App::historyScrollBarOverColor(), App::historyScrollBgOverColor());
}