change color in chat

This commit is contained in:
DenioD
2020-05-03 01:25:56 +02:00
parent 0223d6def8
commit 58bee815a5

View File

@@ -61,9 +61,9 @@ inline void ListViewDelegate::paint(QPainter *painter, QStyleOptionViewItem cons
painter->translate(option.rect.left() + d_horizontalmargin, option.rect.top() + ((index.row() == 0) ? d_verticalmargin : 0));
// background color for chat bubble
QColor bgcolor("fbffff");
QColor bgcolor("#535353");
if (outgoing)
bgcolor = "#fffcfb";
bgcolor = "#eeeeee";
// create chat bubble
QPainterPath pointie;