diff options
author | Yoann Lopes <yoann.lopes@nokia.com> | 2010-04-20 11:30:17 (GMT) |
---|---|---|
committer | Yoann Lopes <yoann.lopes@nokia.com> | 2010-04-20 13:53:34 (GMT) |
commit | 495032429b400b44fdcc585585a5c7220c572c68 (patch) | |
tree | 8870dec5458cc4d0685c530cdc687b9e2aeadf7f /src | |
parent | 7f207df8cc63762e32803505aaf6e9b320fd6ba5 (diff) | |
download | Qt-495032429b400b44fdcc585585a5c7220c572c68.zip Qt-495032429b400b44fdcc585585a5c7220c572c68.tar.gz Qt-495032429b400b44fdcc585585a5c7220c572c68.tar.bz2 |
Fixes keyboard shortcuts for QGraphicsTextItem.
The event ShortcutOverride was not handled by QGraphicsTextItem.
Autotest included.
Task-number: QTBUG-7333
Reviewed-by: bnilsen
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/graphicsview/qgraphicsitem.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsitem.cpp b/src/gui/graphicsview/qgraphicsitem.cpp index 9759b39..20ea262 100644 --- a/src/gui/graphicsview/qgraphicsitem.cpp +++ b/src/gui/graphicsview/qgraphicsitem.cpp @@ -10086,6 +10086,9 @@ bool QGraphicsTextItem::sceneEvent(QEvent *event) #endif //QT_NO_IM } break; + case QEvent::ShortcutOverride: + dd->sendControlEvent(event); + return true; default: break; } |