Maked corsshair to be transparent for mouse events.
authorVille Tiensuu <ville.tiensuu@ixonos.com>
Wed, 19 May 2010 11:13:09 +0000 (14:13 +0300)
committerVille Tiensuu <ville.tiensuu@ixonos.com>
Wed, 19 May 2010 11:13:09 +0000 (14:13 +0300)
Reviewed by: Kaj Wallin

src/ui/mapviewscreen.cpp

index cae99e0..2877f65 100644 (file)
@@ -147,6 +147,7 @@ MapViewScreen::MapViewScreen(QWidget *parent)
     m_ownLocationCrosshair->setPixmap(crosshairImage);
     m_ownLocationCrosshair->setFixedSize(crosshairImage.size());
     m_ownLocationCrosshair->hide();
+    m_ownLocationCrosshair->setAttribute(Qt::WA_TransparentForMouseEvents, true);
 
     m_friendsListPanel->stackUnder(friendsListPanelSidebar);
     userPanelSidebar->stackUnder(m_friendsListPanel);