summaryrefslogtreecommitdiffstats
path: root/examples/declarative
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-05-31 03:37:23 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-05-31 03:37:23 (GMT)
commit57d25d03f0a53be4cca6d20dcce0e5f2f9eecc45 (patch)
treefb64ae6f3f7d7f0e0e0e3b631ca813c9b766264e /examples/declarative
parent9c5cea7d447019dcc5bad19ea3c27a358cccb2ed (diff)
downloadQt-57d25d03f0a53be4cca6d20dcce0e5f2f9eecc45.zip
Qt-57d25d03f0a53be4cca6d20dcce0e5f2f9eecc45.tar.gz
Qt-57d25d03f0a53be4cca6d20dcce0e5f2f9eecc45.tar.bz2
Fix example
Diffstat (limited to 'examples/declarative')
-rw-r--r--examples/declarative/cppextensions/qgraphicslayouts/layoutitem/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/cppextensions/qgraphicslayouts/layoutitem/main.cpp b/examples/declarative/cppextensions/qgraphicslayouts/layoutitem/main.cpp
index ef927d1..20a83e7 100644
--- a/examples/declarative/cppextensions/qgraphicslayouts/layoutitem/main.cpp
+++ b/examples/declarative/cppextensions/qgraphicslayouts/layoutitem/main.cpp
@@ -64,7 +64,7 @@ int main(int argc, char* argv[])
//Add the QML snippet into the layout
QDeclarativeEngine engine;
- QDeclarativeComponent c(&engine, QUrl(":layoutItem.qml"));
+ QDeclarativeComponent c(&engine, QUrl(":layoutitem.qml"));
QGraphicsLayoutItem* obj = qobject_cast<QGraphicsLayoutItem*>(c.create());
layout->addItem(obj);