chore: ScreenSetupView, use auto where possible

This commit is contained in:
sithlord48
2025-04-27 12:53:32 -04:00
committed by Nick Bolton
parent a23856ee09
commit 572953d5ba

View File

@ -126,7 +126,7 @@ void ScreenSetupView::startDrag(Qt::DropActions)
return;
const QPixmap &pixmap = model()->screen(indexes[0]).pixmap();
QDrag *pDrag = new QDrag(this);
auto *pDrag = new QDrag(this);
pDrag->setPixmap(pixmap);
pDrag->setMimeData(pData);
pDrag->setHotSpot(QPoint(pixmap.width() / 2, pixmap.height() / 2));