Remove unused code

Reported-by: Sebastian Kügler <sebas@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-11-25 09:13:35 -08:00
parent dabb6b2033
commit 23cb9b49c2

View file

@ -47,11 +47,5 @@ void DivePictureWidget::mousePressEvent(QMouseEvent *event)
drag->setPixmap(pixmap);
drag->setHotSpot(event->pos() - rectForIndex(indexAt(event->pos())).topLeft());
QPixmap tempPixmap = pixmap;
QPainter painter;
painter.begin(&tempPixmap);
painter.fillRect(pixmap.rect(), QColor(127, 127, 127, 127));
painter.end();
drag->exec(Qt::CopyAction | Qt::MoveAction, Qt::CopyAction);
}