diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-05-20 14:08:41 +1000 |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-05-20 14:11:51 +1000 |
commit | 5732a44092e17829985a381400bafccc326a0d1f (patch) | |
tree | 49d83690535244d81b421806042a81a0764238d1 /doc/src/snippets/declarative/componentCreation.js | |
parent | 91251b69edd966965bf7944aec642321c362af2a (diff) | |
download | qt4-tools-5732a44092e17829985a381400bafccc326a0d1f.tar.gz |
Rename Component::errorsString() -> errorString() (and also for
QDeclarativeComponent)
Diffstat (limited to 'doc/src/snippets/declarative/componentCreation.js')
-rw-r--r-- | doc/src/snippets/declarative/componentCreation.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/snippets/declarative/componentCreation.js b/doc/src/snippets/declarative/componentCreation.js index f6fb3793b3..25bc10cc89 100644 --- a/doc/src/snippets/declarative/componentCreation.js +++ b/doc/src/snippets/declarative/componentCreation.js @@ -14,7 +14,7 @@ function finishCreation() { } } else if (component.status == Component.Error) { // Error Handling - console.log("Error loading component:", component.errorsString()); + console.log("Error loading component:", component.errorString()); } } //![0] @@ -35,7 +35,7 @@ sprite = component.createObject(appWindow); if (sprite == null) { // Error Handling - console.log("Error loading component:", component.errorsString()); + console.log("Error loading component:", component.errorString()); } else { sprite.x = 100; sprite.y = 100; |