summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-06-22 16:28:45 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2011-06-22 16:28:45 +0200
commit6d6ac714ca63ba8d4bbe16cf332872939c29756c (patch)
treeec057d206f2cf5e749a95d1e1bf3ccc911000a4d /src/plugins/platforms/wayland
parentf3440ddf52de23711b00bb6a6097ce46c9cd3f32 (diff)
Prevent endless loop when calling QWaylandShmWindow::format().
Diffstat (limited to 'src/plugins/platforms/wayland')
-rw-r--r--src/plugins/platforms/wayland/qwaylandshmwindow.h2
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