diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-05-04 10:40:20 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-05-04 10:40:20 +0200 |
commit | 07fef33d28f75f3ee1f4edb014c8f6c1d7113659 (patch) | |
tree | d7768d608bfa1b3097120fbacef457d32004b027 /src | |
parent | 3f3a950d6e5b5831d963e04c7ac9506de4396d5a (diff) |
Get rid of warning in QPixmap::grabWidget().
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/image/qpixmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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. |