swh:1:snp:673156c31a876c5b99b2fe3e89615529de9a3c44
Revision 85bd95cc318c0ad64aee892e2955b84f196a5d71 authored by Janne Anttila on 08 August 2012, 12:34:06 UTC, committed by Qt by Nokia on 20 August 2012, 08:26:28 UTC
QDrag has an API to set both pixmap (QDrag::setPixmap) and drag cursor
(QDrag::setDragCursor): http://qt-project.org/doc/qt-5.0/qdrag.html.

We cannot return from createCursors if there is no pixmap, but we need
to go through also dragCursor and use those if one is set.

Change-Id: If2b2139ad193a4ab5b25c65400c595dc7c33de2c
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
1 parent 1b54d1e
History
Tip revision: ed928cee1233aee003610d5fadb56bdaeffbd7b2 authored by Jake Petroules on 22 September 2016, 17:55:20 UTC
Suppress deprecated warnings for some QSysInfo members
Tip revision: ed928ce
File Mode Size
bin
config.tests
dist
doc
examples
lib
mkspecs
qmake
src
tests
tools
util
.gitattributes -rw-r--r-- 11 bytes
.gitignore -rw-r--r-- 7.5 KB
.tag -rw-r--r-- 5 bytes
INSTALL -rw-r--r-- 663 bytes
LGPL_EXCEPTION.txt -rw-r--r-- 1.2 KB
LICENSE.FDL -rw-r--r-- 22.4 KB
LICENSE.GPL -rw-r--r-- 34.3 KB
LICENSE.LGPL -rw-r--r-- 26.2 KB
LICENSE.PREVIEW.COMMERCIAL -rw-r--r-- 30.8 KB
configure -rwxr-xr-x 203.4 KB
configure.bat -rw-r--r-- 3.7 KB
header.BSD -rw-r--r-- 2.0 KB
header.FDL -rw-r--r-- 830 bytes
header.LGPL -rw-r--r-- 1.6 KB
header.LGPL-ONLY -rw-r--r-- 961 bytes
qtbase.pro -rw-r--r-- 4.1 KB
sync.profile -rw-r--r-- 7.4 KB

back to top