Browse Source

specify background brush

pull/974/head
krepa098 11 years ago
parent
commit
bbd20496fd
  1. 1
      src/chatlog/chatlog.cpp

1
src/chatlog/chatlog.cpp

@ -53,6 +53,7 @@ ChatLog::ChatLog(QWidget* parent)
setViewportUpdateMode(BoundingRectViewportUpdate); setViewportUpdateMode(BoundingRectViewportUpdate);
setAcceptDrops(false); setAcceptDrops(false);
setContextMenuPolicy(Qt::CustomContextMenu); setContextMenuPolicy(Qt::CustomContextMenu);
setBackgroundBrush(QBrush(Qt::white, Qt::SolidPattern));
// The selection rect for multi-line selection // The selection rect for multi-line selection
const QColor selGraphColor = QColor(166,225,255); const QColor selGraphColor = QColor(166,225,255);

Loading…
Cancel
Save