Fix qt4 build error.
--HG-- branch : develop
This commit is contained in:
parent
b4a7ab66ab
commit
48e86eedee
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue