diff options
author | Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> | 2012-04-09 15:08:18 -0700 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-10 08:25:51 +0200 |
commit | 300ce31d7047a038c882235979988d928159ee30 (patch) | |
tree | 019c184cb11ee47ccd6a82b5727d5fe9fa3ef136 /src/gui | |
parent | 39b45781562712f320edb6519aef7b2444699848 (diff) |
Fix constness of QPlatformCursorImage::hostpot()
QPlatformCursorImage::hotspot() should be const.
Change-Id: I2b517098e75b013947386a5a620a15dc48e76cec
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/kernel/qplatformcursor_qpa.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qplatformcursor_qpa.h b/src/gui/kernel/qplatformcursor_qpa.h index e29cf87d03..a31501958c 100644 --- a/src/gui/kernel/qplatformcursor_qpa.h +++ b/src/gui/kernel/qplatformcursor_qpa.h @@ -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); |