diff --git a/src/gui/image/qpixmap.cpp b/src/gui/image/qpixmap.cpp index 82d4e69de3..a484bd408a 100644 --- a/src/gui/image/qpixmap.cpp +++ b/src/gui/image/qpixmap.cpp @@ -1044,7 +1044,7 @@ static void sendResizeEvents(QWidget *target) \sa grabWindow() */ -QPixmap QPixmap::grabWidget(QPaintDevice * widget, const QRect &rect) +QPixmap QPixmap::grabWidget(QPaintDevice *, const QRect &) { // ### Qt5: should we keep or remove this method? // SC solution would be to install a callback form QtWidgets, but ugly.