Try again to make 'gb.qt4 compile.

[GB.QT4]
* BUG: Try again to make 'gb.qt4 compile.
This commit is contained in:
Benoît Minisini 2023-10-03 08:51:52 +02:00
parent 62764b8672
commit f8a91001bc

View file

@ -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