Remove unused code
Reported-by: Sebastian Kügler <sebas@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
dabb6b2033
commit
23cb9b49c2
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user