Change-Id: I9e61be7ed537a988ce8ccca20f672f5c66275452
Reviewed-on: http://codereview.qt-project.org/5561
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
cursorShape = Qt::DragMoveCursor;
}
}
- if (cursorShape != qApp->overrideCursor()->shape()) {
- qDebug() << "setting cursor shape to" << cursorShape;
+ QCursor *cursor = qApp->overrideCursor();
+ if (cursor && cursorShape != cursor->shape())
qApp->changeOverrideCursor(QCursor(cursorShape));
- }
}