summaryrefslogtreecommitdiffstats
path: root/examples/declarative/tutorials/samegame/samegame3/samegame.js
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-04-22 19:20:19 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-04-22 19:20:19 (GMT)
commit74c6d263bebd0a3d74d0ca751985589c556c6c9b (patch)
tree2ab0c98c4e970c5c5988ce19d4cfb178d414a916 /examples/declarative/tutorials/samegame/samegame3/samegame.js
parent4894e6dd57c31e0196c6fdae4d1b2fb16b9f1b16 (diff)
parent0b6fd8966972616232054c5194243c52ca360bf8 (diff)
downloadQt-74c6d263bebd0a3d74d0ca751985589c556c6c9b.zip
Qt-74c6d263bebd0a3d74d0ca751985589c556c6c9b.tar.gz
Qt-74c6d263bebd0a3d74d0ca751985589c556c6c9b.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (135 commits) Do not treat images in qml examples differently. Replace Flickable overshoot property with boundsBehavior Autotests and doc Give error on attempt to import types from too-early version number. Remove (undocumented) QML bindings for effects. De-straighten them lines. Doc: fix QStringList model doc (really). Doc: fix QStringList model docs Change return type to match value(). Add duration and easing properties to AnchorAnimation. Autotest Remove dead code Compile on Windows (export decl fix). Fix versioning of Qt Declarative's in-built types Fixed declarative/parserstress autotest. Fix parsing of regular expression literals. Fill out QGraphicsLayout bindings Update test files to new syntax Compile without Qt3 support. Ensure workerscript.qml works (autotested). ...
Diffstat (limited to 'examples/declarative/tutorials/samegame/samegame3/samegame.js')
-rw-r--r--examples/declarative/tutorials/samegame/samegame3/samegame.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/tutorials/samegame/samegame3/samegame.js b/examples/declarative/tutorials/samegame/samegame3/samegame.js
index c12def7..eaf47d9 100644
--- a/examples/declarative/tutorials/samegame/samegame3/samegame.js
+++ b/examples/declarative/tutorials/samegame/samegame3/samegame.js
@@ -32,7 +32,7 @@ function startNewGame() {
function createBlock(column, row) {
if (component == null)
- component = createComponent("Block.qml");
+ component = Qt.createComponent("Block.qml");
// Note that if Block.qml was not a local file, component.isReady would be
// false and we should wait for the component's statusChanged() signal to