summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Labedan <p.labedan@mondialtelecom.be>2010-12-07 11:25:23 (GMT)
committerSami Merila <sami.merila@nokia.com>2010-12-15 15:09:42 (GMT)
commitd8990fbd132fc9e456c55a624eeb709088b0b819 (patch)
tree3738a0e4c549adb8d6232fafbd01efef24ec731f
parent4a56fbd816dd4d1ec7643735e549bb39c4ace4c6 (diff)
downloadQt-d8990fbd132fc9e456c55a624eeb709088b0b819.zip
Qt-d8990fbd132fc9e456c55a624eeb709088b0b819.tar.gz
Qt-d8990fbd132fc9e456c55a624eeb709088b0b819.tar.bz2
Remove warning about null cursor handle on S60 while handle is valid
-rw-r--r--src/gui/kernel/qcursor_s60.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qcursor_s60.cpp b/src/gui/kernel/qcursor_s60.cpp
index 68e079e..6369f25 100644
--- a/src/gui/kernel/qcursor_s60.cpp
+++ b/src/gui/kernel/qcursor_s60.cpp
@@ -472,9 +472,9 @@ void qt_symbian_setWindowGroupCursor(const QCursor &cursor, RWindowTreeNode &nod
if (handle) {
RWsPointerCursor *pcurs = reinterpret_cast<RWsPointerCursor *> (handle);
node.SetCustomPointerCursor(*pcurs);
- }
+ } else
#ifdef Q_SYMBIAN_HAS_SYSTEM_CURSORS
- else {
+ {
TInt shape = qt_symbian_translate_cursor_shape(cursor.shape());
node.SetPointerCursor(shape);
}