Fix constness of QPlatformCursorImage::hostpot()
QPlatformCursorImage::hotspot() should be const. Change-Id: I2b517098e75b013947386a5a620a15dc48e76cec Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
This commit is contained in:
parent
39b4578156
commit
300ce31d70
@ -60,7 +60,7 @@ public:
|
||||
QPlatformCursorImage(const uchar *data, const uchar *mask, int width, int height, int hotX, int hotY)
|
||||
{ set(data, mask, width, height, hotX, hotY); }
|
||||
QImage * image() { return &cursorImage; }
|
||||
QPoint hotspot() { return hot; }
|
||||
QPoint hotspot() const { return hot; }
|
||||
void set(const uchar *data, const uchar *mask, int width, int height, int hotX, int hotY);
|
||||
void set(const QImage &image, int hx, int hy);
|
||||
void set(Qt::CursorShape);
|
||||
|
Loading…
Reference in New Issue
Block a user