1
0
Fork 0
forked from blue/squawk

0.1.3 release

This commit is contained in:
Blue 2020-03-31 18:56:49 +03:00
parent c793f56647
commit b309100f99
5 changed files with 9 additions and 7 deletions

View file

@ -78,9 +78,11 @@ Conversation::Conversation(bool muc, Models::Account* acc, const QString pJid, c
m_ui->scrollArea->setWidget(line);
vs->installEventFilter(&vis);
line->setAutoFillBackground(false);
if (testAttribute(Qt::WA_TranslucentBackground)) {
m_ui->scrollArea->setAutoFillBackground(false);
m_ui->scrollArea->viewport()->setAutoFillBackground(false);
} else {
m_ui->scrollArea->setBackgroundRole(QPalette::Base);
}
connect(vs, &QScrollBar::valueChanged, this, &Conversation::onSliderValueChanged);