From 07fef33d28f75f3ee1f4edb014c8f6c1d7113659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Wed, 4 May 2011 10:40:20 +0200 Subject: [PATCH] Get rid of warning in QPixmap::grabWidget(). --- src/gui/image/qpixmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.