diff -r 06ff229162e9 -r 11d3954df52a src/hbcore/gui/hbmenu.cpp --- a/src/hbcore/gui/hbmenu.cpp Fri May 14 16:09:54 2010 +0300 +++ b/src/hbcore/gui/hbmenu.cpp Thu May 27 13:10:59 2010 +0300 @@ -779,17 +779,14 @@ QPainterPath HbMenu::shape() const { - /* - QRectF sceneRect = mapRectToScene(QRectF(-0.5, -0.5, boundingRect().width() + 0.5, boundingRect().height() + 0.5)); + /*QRectF sceneRect = mapRectToScene(QRectF(-0.5, -0.5, boundingRect().width() + 0.5, boundingRect().height() + 0.5)); QRectF clipRect = sceneRect.intersected(QRectF(pos().x() - 0.5, pos().y() - 0.5, size().width() + 0.5, size().height() + 0.5)); QPainterPath path; path.addRect(mapRectFromScene(clipRect)); - return path.intersected(HbPopup::shape()); - */ - - return HbPopup::shape(); + return path.intersected(HbPopup::shape());*/ + return HbPopup::shape(); } /*!