summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/qml-compositor/main.cpp14
1 files changed, 4 insertions, 10 deletions
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<QSGItem *>(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<QObject *, WaylandSurfaceItem *> m_windowMap;
};