aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickscreen.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2012-02-13 14:42:34 +0000
committerQt by Nokia <qt-info@nokia.com>2012-02-21 10:56:27 +0100
commitc7ec69b4a7c2aa6dbee723c027e3283bd34d50fc (patch)
tree2a4c2b04cdf50fa937783964baf5da7a756f289f /src/quick/items/qquickscreen.cpp
parentef6318ae38322b5a4a0619b581924290f114fa74 (diff)
Reduce size of QQuickItemPrivate
Change-Id: I02653536f68cfef3dfc06acaf30e2565a97dc194 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/quick/items/qquickscreen.cpp')
-rw-r--r--src/quick/items/qquickscreen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickscreen.cpp b/src/quick/items/qquickscreen.cpp
index b6bd78bd7f..3dfeb90ee0 100644
--- a/src/quick/items/qquickscreen.cpp
+++ b/src/quick/items/qquickscreen.cpp
@@ -95,7 +95,7 @@ QQuickScreenAttached::QQuickScreenAttached(QObject* attachee)
m_attachee = qobject_cast<QQuickItem*>(attachee);
if (m_attachee) {
- QQuickItemPrivate::get(m_attachee)->screenAttached = this;
+ QQuickItemPrivate::get(m_attachee)->extra.value().screenAttached = this;
if (m_attachee->canvas()) //It might not be assigned to a canvas yet
canvasChanged(m_attachee->canvas());