camerauis/cameraxui/cxui/src/cxuipostcaptureview.cpp
changeset 38 0f0b4c1d7744
parent 28 3075d9b614e6
child 39 c5025ea871a1
equal deleted inserted replaced
28:3075d9b614e6 38:0f0b4c1d7744
   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