diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-06-22 16:28:45 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-06-22 16:28:45 +0200 |
commit | 6d6ac714ca63ba8d4bbe16cf332872939c29756c (patch) | |
tree | ec057d206f2cf5e749a95d1e1bf3ccc911000a4d /src/plugins/platforms/wayland | |
parent | f3440ddf52de23711b00bb6a6097ce46c9cd3f32 (diff) |
Prevent endless loop when calling QWaylandShmWindow::format().
Diffstat (limited to 'src/plugins/platforms/wayland')
-rw-r--r-- | src/plugins/platforms/wayland/qwaylandshmwindow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandshmwindow.h b/src/plugins/platforms/wayland/qwaylandshmwindow.h index 69d4228daa..36f9f225b7 100644 --- a/src/plugins/platforms/wayland/qwaylandshmwindow.h +++ b/src/plugins/platforms/wayland/qwaylandshmwindow.h @@ -52,7 +52,7 @@ public: ~QWaylandShmWindow(); WindowType windowType() const; - QSurfaceFormat format() const { return window()->format(); } + QSurfaceFormat format() const { return QSurfaceFormat(); } }; #endif // QWAYLANDSHMWINDOW_H |