Prevent endless loop when calling QWaylandShmWindow::format().

This commit is contained in:
Samuel Rødal 2011-06-22 16:28:45 +02:00
parent f3440ddf52
commit 6d6ac714ca

View File

@ -52,7 +52,7 @@ public:
~QWaylandShmWindow();
WindowType windowType() const;
QSurfaceFormat format() const { return window()->format(); }
QSurfaceFormat format() const { return QSurfaceFormat(); }
};
#endif // QWAYLANDSHMWINDOW_H