From 19db756c2a27afc1ea1a6ac345902eb936677688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Mon, 29 Aug 2011 14:18:03 +0200 Subject: Fixed build and crash issues. --- examples/qml-compositor/main.cpp | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'examples') diff --git a/examples/qml-compositor/main.cpp b/examples/qml-compositor/main.cpp index d1c4513..134760d 100644 --- a/examples/qml-compositor/main.cpp +++ b/examples/qml-compositor/main.cpp @@ -102,21 +102,15 @@ private slots: emit windowDestroyed(QVariant::fromValue(static_cast(item))); } - void frameSwappedSlot() { - frameFinished(); - } + void frameSwappedSlot() { + frameFinished(); + } protected: void surfaceCreated(WaylandSurface *surface) { connect(surface, SIGNAL(mapped(const QSize &)), this, SLOT(surfaceMapped(const QSize &))); } -#if 0 - void paintEvent(QPaintEvent *event) { - QSGView::paintEvent(event); - frameFinished(); - glFinish(); - } -#endif + private: QMap m_windowMap; }; -- cgit v1.2.3