diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2009-03-19 13:09:19 -0400 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2009-03-19 13:09:19 -0400 |
| commit | 048364a475dba0f5259ba13905032acfbc6c9b8d (patch) | |
| tree | a946cead7af40f25526bba9326383b7e59b26766 /sigmodr/widgets/MapItem.cpp | |
| parent | e254eec0870ff84ec974be43e024c1d521c5eb19 (diff) | |
| download | sigen-048364a475dba0f5259ba13905032acfbc6c9b8d.tar.gz sigen-048364a475dba0f5259ba13905032acfbc6c9b8d.tar.xz sigen-048364a475dba0f5259ba13905032acfbc6c9b8d.zip | |
Focusing does nothing in MapItem
Diffstat (limited to 'sigmodr/widgets/MapItem.cpp')
| -rw-r--r-- | sigmodr/widgets/MapItem.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sigmodr/widgets/MapItem.cpp b/sigmodr/widgets/MapItem.cpp index a6bdb29c..22dce924 100644 --- a/sigmodr/widgets/MapItem.cpp +++ b/sigmodr/widgets/MapItem.cpp @@ -55,18 +55,6 @@ void MapItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, Q } } -void MapItem::focusInEvent(QFocusEvent* event) -{ - QGraphicsItem::focusInEvent(event); - update(); -} - -void MapItem::focusOutEvent(QFocusEvent* event) -{ - QGraphicsItem::focusOutEvent(event); - update(); -} - void MapItem::hoverEnterEvent(QGraphicsSceneHoverEvent* event) { emit(hovered(true)); |
