Browse Source

change color in chat

pull/130/head
DenioD 4 years ago
parent
commit
58bee815a5
  1. 4
      src/chatmodel.h

4
src/chatmodel.h

@ -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;

Loading…
Cancel
Save