mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 0 additions and 6 deletions
|
@ -47,11 +47,5 @@ void DivePictureWidget::mousePressEvent(QMouseEvent *event)
|
||||||
drag->setPixmap(pixmap);
|
drag->setPixmap(pixmap);
|
||||||
drag->setHotSpot(event->pos() - rectForIndex(indexAt(event->pos())).topLeft());
|
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);
|
drag->exec(Qt::CopyAction | Qt::MoveAction, Qt::CopyAction);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue