From 6d6ac714ca63ba8d4bbe16cf332872939c29756c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Samuel=20R=C3=B8dal?= Date: Wed, 22 Jun 2011 16:28:45 +0200 Subject: [PATCH] Prevent endless loop when calling QWaylandShmWindow::format(). --- src/plugins/platforms/wayland/qwaylandshmwindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/platforms/wayland/qwaylandshmwindow.h b/src/plugins/platforms/wayland/qwaylandshmwindow.h index 69d4228..36f9f22 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 -- 2.7.4