Commit 6bc03f22 authored by Gaël de Chalendar's avatar Gaël de Chalendar
Browse files

Correct bug #171426

svn path=/trunk/KDE/kdegames/ksirk/; revision=863323
parent c65811f0
......@@ -286,6 +286,13 @@ void DecoratedGameFrame::slotMouseInput(KGameIO *input,QDataStream &stream,QMous
kDebug() << e;
QGraphicsItem* item = itemAt(mapFromScene(((QGraphicsSceneMouseEvent*)e)->scenePos()));
if (item == 0)
{
*eatevent=false;
e->setAccepted(false);
return;
}
while (item->parentItem()!=0 && dynamic_cast<KGamePopupItem*>(item)==0)
{
item = item->parentItem();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment