+ activate new implementation of QuarterWidget::viewportEvent

This commit is contained in:
wmayer 2016-04-09 19:04:21 +02:00
parent 384316f691
commit 85cad47468

View File

@ -755,8 +755,10 @@ void QuarterWidget::paintEvent(QPaintEvent* event)
bool QuarterWidget::viewportEvent(QEvent* event)
{
//TODO: After 0.16 is out activate the code below.
#if 1
// Disable the old implementation of this method as it show
// problems with panning and rotations when a widget item is
// added to the scene.
#if 0
if (event->type() == QEvent::Paint || event->type() == QEvent::Resize) {
return QGraphicsView::viewportEvent(event);
}