diff options
author | Gunnar Sletta <gunnar.sletta@digia.com> | 2013-02-21 11:16:58 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-04 19:46:51 +0200 |
commit | 475d1ed4f6a21686828fbd018542b469a8b2dbcd (patch) | |
tree | 998bf92d64afadf333df4aa3e690479d067627ce /src/quick/scenegraph/qsgrenderloop.cpp | |
parent | 1df6e3a109818f93362b50f320709f188287f2e2 (diff) |
Remove resize hook from QSGRenderLoop, exposureChanged is enough.
After much back and forth, I think we have settled on the right approach
in QtGui, which is that resizeEvent is pretty much useless as the
action happens on the following exposeEvent().
Change-Id: I5e87bda89853907d041f56acf9a2895e540c41f0
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src/quick/scenegraph/qsgrenderloop.cpp')
-rw-r--r-- | src/quick/scenegraph/qsgrenderloop.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/quick/scenegraph/qsgrenderloop.cpp b/src/quick/scenegraph/qsgrenderloop.cpp index 16af79e5eb..33a99d1506 100644 --- a/src/quick/scenegraph/qsgrenderloop.cpp +++ b/src/quick/scenegraph/qsgrenderloop.cpp @@ -95,7 +95,6 @@ public: void renderWindow(QQuickWindow *window); void exposureChanged(QQuickWindow *window); QImage grab(QQuickWindow *window); - void resize(QQuickWindow *window, const QSize &size); void maybeUpdate(QQuickWindow *window); void update(QQuickWindow *window) { maybeUpdate(window); } // identical for this implementation. @@ -335,12 +334,6 @@ QImage QSGGuiThreadRenderLoop::grab(QQuickWindow *window) -void QSGGuiThreadRenderLoop::resize(QQuickWindow *, const QSize &) -{ -} - - - void QSGGuiThreadRenderLoop::maybeUpdate(QQuickWindow *window) { if (!m_windows.contains(window)) |