From 048364a475dba0f5259ba13905032acfbc6c9b8d Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 19 Mar 2009 13:09:19 -0400 Subject: Focusing does nothing in MapItem --- sigmodr/widgets/MapItem.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'sigmodr/widgets/MapItem.cpp') 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)); -- cgit