1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-10 21:18:19 +03:00

fixed compile with qt 5.9

FIXED-IN:0.9.7
BUG:415715
This commit is contained in:
Michail Vourlakos 2019-12-30 23:52:58 +02:00
parent 2283aa9d83
commit 3108a73533

View File

@ -262,7 +262,7 @@ Qt::HANDLE PanelShadows::Private::createPixmap(const QPixmap& source)
_connection, XCB_IMAGE_FORMAT_Z_PIXMAP, pixmap, _gc,
image.width(), image.height(), 0, 0,
0, 32,
image.sizeInBytes(), image.constBits());
image.byteCount(), image.constBits());
return (Qt::HANDLE)pixmap;