summaryrefslogtreecommitdiffstats
path: root/src
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
commit933485413b6322cf15f366098365f904c5ae9bfa (patch)
tree4ce4f6b4d9e1daa0c20b9c585431169ee51efb4c /src
parent467e8a19c4e6c3bd4bd7d3e0afcd7b435bd4d6ef (diff)
Prevent endless loop when calling QWaylandShmWindow::format().
Diffstat (limited to 'src')
-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 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