aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgrenderloop_p.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@digia.com>2013-11-21 14:13:07 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-11-22 22:34:37 +0100
commit99480d5420c0beea6771be582c039b550a4461f5 (patch)
tree3111a397b015b3286e2b8eecef0ba83824e1c56d /src/quick/scenegraph/qsgrenderloop_p.h
parent1b8795e4bbae8cde791707bb8b44600dcd96eda9 (diff)
Be even more tolerant towards broken platform behavior.
When the platform (Mac in particular) sends us exposes for windows which are not renderable, we store it for later and fake expose events when we get resized. Task-number: QTCREATORBUG-10814 Change-Id: I909bb5a920550589322afd97ae1834884754cf81 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/quick/scenegraph/qsgrenderloop_p.h')
-rw-r--r--src/quick/scenegraph/qsgrenderloop_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/scenegraph/qsgrenderloop_p.h b/src/quick/scenegraph/qsgrenderloop_p.h
index 7b06399f08..72bad16c63 100644
--- a/src/quick/scenegraph/qsgrenderloop_p.h
+++ b/src/quick/scenegraph/qsgrenderloop_p.h
@@ -61,6 +61,7 @@ public:
virtual void show(QQuickWindow *window) = 0;
virtual void hide(QQuickWindow *window) = 0;
+ virtual void resize(QQuickWindow *) {};
virtual void windowDestroyed(QQuickWindow *window) = 0;