mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-15 03:59:06 +00:00
Fix qt4 build error.
This commit is contained in:
parent
fcc3167fe3
commit
f0977f7d12
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
|
#ifdef USE_QT5
|
||||||
QPixmap pixpix = wiwi.grab(wiwi.contentsRect());
|
QPixmap pixpix = wiwi.grab(wiwi.contentsRect());
|
||||||
#else
|
#else
|
||||||
QPixmap::grabWidget(wiwi, wiwi.contentsRect());
|
QPixmap pixpix = QPixmap::grabWidget(&wiwi, wiwi.contentsRect());
|
||||||
#endif
|
#endif
|
||||||
return pixpix;
|
return pixpix;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue