Get rid of warning in QPixmap::grabWidget().

This commit is contained in:
Samuel Rødal 2011-05-04 10:40:20 +02:00
parent 3f3a950d6e
commit 07fef33d28

View File

@ -1044,7 +1044,7 @@ static void sendResizeEvents(QWidget *target)
\sa grabWindow() \sa grabWindow()
*/ */
QPixmap QPixmap::grabWidget(QPaintDevice * widget, const QRect &rect) QPixmap QPixmap::grabWidget(QPaintDevice *, const QRect &)
{ {
// ### Qt5: should we keep or remove this method? // ### Qt5: should we keep or remove this method?
// SC solution would be to install a callback form QtWidgets, but ugly. // SC solution would be to install a callback form QtWidgets, but ugly.