Qt_s60_setWindowGroupCursor and Q_SYMBIAN_HAS_SYSTEM_CURSORS Question
-
When i deployed my qt application on symbian^3 I sometimes get the warning "qt_s60_setWindowGroupCursor - null handle" when i interact with the application so i went through the source and came across this code .
@/*- Makes the specified cursor appear above a specific native window group
- Called from QSymbianControl and QApplication::restoreOverrideCursor
- Window server is needed for this, so there is no equivalent when using
- the sprite workaround.
*/
void qt_symbian_setWindowGroupCursor(const QCursor &cursor, RWindowTreeNode &node)
{
Qt::HANDLE handle = cursor.handle();
if (handle) {
RWsPointerCursor *pcurs = reinterpret_cast<RWsPointerCursor *> (handle);
node.SetCustomPointerCursor(*pcurs);
}
#ifdef Q_SYMBIAN_HAS_SYSTEM_CURSORS
else {
TInt shape = qt_symbian_translate_cursor_shape(cursor.shape());
node.SetPointerCursor(shape);
}
#else
qWarning("qt_s60_setWindowGroupCursor - null handle");
#endif
}@
i tried reading about this but i never understood what the warning was about, any ideas ?
-