summaryrefslogtreecommitdiffstats
path: root/src/compositor/global
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@theqtcompany.com>2015-09-03 16:51:14 +0200
committerJørgen Lind <jorgen.lind@theqtcompany.com>2015-09-04 16:12:47 +0200
commitc5d77c7f720b826cd52f1f6f598ea16e662933cc (patch)
tree4d83fb83ca9340f81fda737009b465c199262ec9 /src/compositor/global
parent501f21256ce4fea888a09189e0113f53db71d3ba (diff)
Cleanup QWaylandQuickCompositorExtension file
Diffstat (limited to 'src/compositor/global')
-rw-r--r--src/compositor/global/qwaylandquickextension.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/compositor/global/qwaylandquickextension.h b/src/compositor/global/qwaylandquickextension.h
index 183d4c23c..10023aec2 100644
--- a/src/compositor/global/qwaylandquickextension.h
+++ b/src/compositor/global/qwaylandquickextension.h
@@ -88,19 +88,13 @@ QT_BEGIN_NAMESPACE
} \
static void append_extension(QQmlListProperty<QWaylandExtension> *list, QWaylandExtension *extension) \
{ \
- className##QuickExtension *compositor = static_cast<className##QuickExtension *>(list->data); \
- extension->setExtensionContainer(compositor); \
+ className##QuickExtension *quickExtObj = static_cast<className##QuickExtension *>(list->data); \
+ extension->setExtensionContainer(quickExtObj); \
} \
static void clearFunction(QQmlListProperty<QWaylandExtension> *list) \
{ \
static_cast<className##QuickExtension *>(list->data)->extension_vector.clear(); \
} \
- protected: \
- void componentComplete() Q_DECL_OVERRIDE \
- { \
- create(); \
- QWaylandQuickCompositor::componentComplete(); \
- }\
private: \
QList<QObject *> m_objects; \
};