equal
deleted
inserted
replaced
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 |