Try again to make 'gb.qt4 compile.
[GB.QT4] * BUG: Try again to make 'gb.qt4 compile.
This commit is contained in:
parent
62764b8672
commit
f8a91001bc
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ CPICTURE *CPICTURE_grab(QWidget *wid, int screen, int x, int y, int w, int h)
|
|||
|
||||
#ifdef QT5
|
||||
//*pict->pixmap = QGuiApplication::primaryScreen()->grabWindow(QX11Info::appRootWindow(), x, y, w, h);
|
||||
PLATFORM.Desktop.Screenshot(pict->pixmap, x, y, w, h, screen);
|
||||
PLATFORM.Desktop.Screenshot(pict->pixmap, x, y, w, h); //, screen);
|
||||
#else
|
||||
*pict->pixmap = QPixmap::grabWindow(QX11Info::appRootWindow(), x, y, w, h);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue