Darken desktop chat backgrounds and lighter panels
This commit is contained in:
1 parent
4dbc543cd3
commit
69e534304b
4 files changed
+21
-10
No files matched your search
@@ -81,7 +81,9 @@ void ChatView::setBackgroundImage(const QString &path) {
|
||||
GUI_WARN("ChatView: failed to load background path=%s", qPrintable(path));
|
||||
return;
|
||||
}
|
||||
GUI_DEBUG("ChatView: background loaded path=%s size=%dx%d", qPrintable(path), m_background.width(), m_background.height());
|
||||
{ QPainter painter(&m_background); painter.fillRect(m_background.rect(), QColor(0, 0, 0, 64)); }
|
||||
GUI_DEBUG("ChatView: background loaded path=%s size=%dx%d black_overlay=64/255",
|
||||
qPrintable(path), m_background.width(), m_background.height());
|
||||
viewport()->update();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user