OSDN Git Service

use QX11PixmapData as default pixmap data type for compatibility with Qt4
authorIvailo Monev <xakepa10@laimg.moc>
Tue, 11 Oct 2016 22:39:40 +0000 (22:39 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Tue, 11 Oct 2016 22:39:40 +0000 (22:39 +0000)
commit4020974cf77c1cb80b21d64f97b08ebc150255fd
treeefb82dd299f66aac3ac17d725c563992519fd187
parentf4c7a5cb83ce77321423ee63ef1db741c6efcc26
use QX11PixmapData as default pixmap data type for compatibility with Qt4

otherwise QPixmap::handle() is going to return 0 which is not what most
applications expect and check for

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/image/qpixmap.cpp
src/gui/painting/qgraphicssystem_p.h