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:
parent
5ae111e7c4
commit
96789182cf
|
@ -58,6 +58,7 @@ ChatLog::ChatLog(QWidget* parent)
|
||||||
setDragMode(QGraphicsView::NoDrag);
|
setDragMode(QGraphicsView::NoDrag);
|
||||||
setViewportUpdateMode(SmartViewportUpdate);
|
setViewportUpdateMode(SmartViewportUpdate);
|
||||||
//setRenderHint(QPainter::TextAntialiasing);
|
//setRenderHint(QPainter::TextAntialiasing);
|
||||||
|
setAcceptDrops(false);
|
||||||
|
|
||||||
const QColor selGraphColor = QColor(166,225,255);
|
const QColor selGraphColor = QColor(166,225,255);
|
||||||
selGraphItem = scene->addRect(0,0,0,0,selGraphColor.darker(120),selGraphColor);
|
selGraphItem = scene->addRect(0,0,0,0,selGraphColor.darker(120),selGraphColor);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user