From bfa7ac910d4d79edeb5a53a8700da72807e86624 Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 28 Dec 2016 10:32:22 +0100 Subject: [PATCH] workaround for performance problem with Qt 5.5.x --- src/Gui/Quarter/QuarterWidget.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Gui/Quarter/QuarterWidget.cpp b/src/Gui/Quarter/QuarterWidget.cpp index 37bf36d432..5e918d3b60 100644 --- a/src/Gui/Quarter/QuarterWidget.cpp +++ b/src/Gui/Quarter/QuarterWidget.cpp @@ -824,7 +824,12 @@ QuarterWidget::redraw(void) // we're triggering the next paintGL(). Set a flag to remember this // to avoid that we process the delay queue in paintGL() PRIVATE(this)->processdelayqueue = false; +#if QT_VERSION >= 0x050500 && QT_VERSION < 0x050600 + // With Qt 5.5.x there is a major performance problem + this->viewport()->update(); +#else this->viewport()->repaint(); +#endif } /*!