mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
changed color of selGraphItem
This commit is contained in:
parent
661a8c4da4
commit
2b20a23c3d
|
@ -57,11 +57,9 @@ ChatLog::ChatLog(QWidget* parent)
|
|||
setViewportUpdateMode(SmartViewportUpdate);
|
||||
//setRenderHint(QPainter::TextAntialiasing);
|
||||
|
||||
selGraphItem = new QGraphicsRectItem();
|
||||
const QColor selGraphColor = QColor(166,225,255);
|
||||
selGraphItem = scene->addRect(0,0,0,0,selGraphColor.darker(120),selGraphColor);
|
||||
selGraphItem->setZValue(-10.0); //behind all items
|
||||
selGraphItem->setBrush(QBrush(QColor(166,225,255)));
|
||||
|
||||
scene->addItem(selGraphItem);
|
||||
|
||||
// copy action
|
||||
copyAction = new QAction(this);
|
||||
|
|
Loading…
Reference in New Issue
Block a user