diff options
author | Viktor Kolesnyk <vikkolesnyk@gmail.com> | 2011-09-05 12:08:23 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2011-09-22 13:10:01 (GMT) |
commit | 6f6493747121db428a71d494c8cb3f04a0292279 (patch) | |
tree | 697ef8abfde2a3b4675a21a8cde70674286ca964 | |
parent | 71bcd941d577097ca99900554386c9f12d4353e3 (diff) | |
download | Qt-6f6493747121db428a71d494c8cb3f04a0292279.zip Qt-6f6493747121db428a71d494c8cb3f04a0292279.tar.gz Qt-6f6493747121db428a71d494c8cb3f04a0292279.tar.bz2 |
Incorrect 'break' in switch-case was replaced by 'return'
-rw-r--r-- | src/gui/kernel/qcursor_win.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qcursor_win.cpp b/src/gui/kernel/qcursor_win.cpp index cef83f5..a68472c 100644 --- a/src/gui/kernel/qcursor_win.cpp +++ b/src/gui/kernel/qcursor_win.cpp @@ -477,7 +477,7 @@ void QCursorData::update() QPixmap pixmap = QApplicationPrivate::instance()->getPixmapCursor(cshape); hcurs = create32BitCursor(pixmap, hx, hy); } - break; + return; default: qWarning("QCursor::update: Invalid cursor shape %d", cshape); return; |