Disable static contents optimization for now.
Since none of the platform backingstore implementations currently implement this, skip trying to use the optimization for now to avoid graphical glitches. Task-number: QTBUG-27971 Change-Id: Ic6d263bb552ef0b4786910d71f965d26d810b7eb Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
This commit is contained in:
parent
48f3128a7d
commit
9b62b01ddd
@ -240,7 +240,7 @@ private:
|
||||
}
|
||||
|
||||
inline bool hasStaticContents() const
|
||||
{ return !staticWidgets.isEmpty(); }
|
||||
{ return !staticWidgets.isEmpty() && false; }
|
||||
|
||||
friend QRegion qt_dirtyRegion(QWidget *);
|
||||
friend class QWidgetPrivate;
|
||||
|
@ -3550,9 +3550,7 @@ void tst_QWidget::optimizedResizeMove()
|
||||
|
||||
void tst_QWidget::optimizedResize_topLevel()
|
||||
{
|
||||
#if defined(Q_OS_MAC)
|
||||
QSKIP("We do not yet have static contents support for *top-levels* on this platform");
|
||||
#endif
|
||||
QSKIP("We do not yet have static contents support, see QTBUG-28012");
|
||||
|
||||
StaticWidget topLevel;
|
||||
topLevel.gotPaintEvent = false;
|
||||
|
Loading…
Reference in New Issue
Block a user