Fix qt4 build error.

This commit is contained in:
Gary Preston 2016-02-17 14:03:57 +00:00
parent fcc3167fe3
commit f0977f7d12

View file

@ -63,7 +63,7 @@ QVariant tiles_model::data(const QModelIndex &index, int role) const
#ifdef USE_QT5
QPixmap pixpix = wiwi.grab(wiwi.contentsRect());
#else
QPixmap::grabWidget(wiwi, wiwi.contentsRect());
QPixmap pixpix = QPixmap::grabWidget(&wiwi, wiwi.contentsRect());
#endif
return pixpix;
}