Get rid of warning in QPixmap::grabWidget().
This commit is contained in:
parent
3f3a950d6e
commit
07fef33d28
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user