camerauis/cameraxui/cxui/src/cxuipostcaptureview.cpp
changeset 29 699651f2666f
parent 24 2094593137f5
child 32 5c1e3c6aa4ef
equal deleted inserted replaced
24:2094593137f5 29:699651f2666f
   474 //
   474 //
   475 // ---------------------------------------------------------------------------
   475 // ---------------------------------------------------------------------------
   476 //
   476 //
   477 void CxuiPostcaptureView::mousePressEvent(QGraphicsSceneMouseEvent *event)
   477 void CxuiPostcaptureView::mousePressEvent(QGraphicsSceneMouseEvent *event)
   478 {
   478 {
   479     //! @todo temporary workaround for title bar mouse event handling bug
   479 
   480     if (event->type() == QEvent::GraphicsSceneMousePress && event->scenePos().y() > 70) {
   480     if (event->type() == QEvent::GraphicsSceneMousePress) {
   481         mPostcaptureTimer.stop();
   481         mPostcaptureTimer.stop();
   482         toggleControls();
   482         toggleControls();
   483         event->accept();
   483         event->accept();
   484     }
   484     }
   485 
   485