Browse Source

chatlog: Don't accept drops

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

1
src/chatlog/chatlog.cpp

@ -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…
Cancel
Save