diff options
author | Jeremy Katz <jeremy.katz@nokia.com> | 2010-01-05 13:51:53 (GMT) |
---|---|---|
committer | Jeremy Katz <jeremy.katz@nokia.com> | 2010-01-05 13:51:53 (GMT) |
commit | a50574975b408b1de58c9822a5b6c48a094e8013 (patch) | |
tree | f226280ad9903834b5f76179998229a03d5f41d8 /src | |
parent | 7d005e75c5000a568454c9f13112506ad2b1b1dc (diff) | |
download | Qt-a50574975b408b1de58c9822a5b6c48a094e8013.zip Qt-a50574975b408b1de58c9822a5b6c48a094e8013.tar.gz Qt-a50574975b408b1de58c9822a5b6c48a094e8013.tar.bz2 |
get cursor hotspot from the graphic
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/graphicssystems/minimaldfb/qdirectfbcursor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/graphicssystems/minimaldfb/qdirectfbcursor.cpp b/src/plugins/graphicssystems/minimaldfb/qdirectfbcursor.cpp index 24f64e6..50c0622 100644 --- a/src/plugins/graphicssystems/minimaldfb/qdirectfbcursor.cpp +++ b/src/plugins/graphicssystems/minimaldfb/qdirectfbcursor.cpp @@ -39,8 +39,8 @@ void QDirectFBCursor::changeCursor(QCursor * cursor, QWidget * widget) blitter = new QDirectFbBlitter(imageRect, surface); blitter->drawPixmap(imageRect, map, imageRect); - int xSpot = cursor->hotSpot().x(); - int ySpot = cursor->hotSpot().y(); + int xSpot = image->hotspot().x(); + int ySpot = image->hotspot().y(); if (m_layer->SetCooperativeLevel(m_layer, DLSCL_ADMINISTRATIVE) != DFB_OK) { return; |