From 572953d5baee345782719cfb1b8cf17ad9d97f87 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Sun, 27 Apr 2025 12:53:32 -0400 Subject: [PATCH] chore: ScreenSetupView, use auto where possible --- src/lib/gui/widgets/ScreenSetupView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/gui/widgets/ScreenSetupView.cpp b/src/lib/gui/widgets/ScreenSetupView.cpp index 0cd25582a..2c2fddde1 100644 --- a/src/lib/gui/widgets/ScreenSetupView.cpp +++ b/src/lib/gui/widgets/ScreenSetupView.cpp @@ -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));