1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chatlog: Don't accept drops

This commit is contained in:
krepa098 2015-01-02 13:04:40 +01:00
parent 5ae111e7c4
commit 96789182cf

View File

@ -58,6 +58,7 @@ ChatLog::ChatLog(QWidget* parent)
setDragMode(QGraphicsView::NoDrag);
setViewportUpdateMode(SmartViewportUpdate);
//setRenderHint(QPainter::TextAntialiasing);
setAcceptDrops(false);
const QColor selGraphColor = QColor(166,225,255);
selGraphItem = scene->addRect(0,0,0,0,selGraphColor.darker(120),selGraphColor);