diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-05-20 04:08:41 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-05-20 04:11:51 (GMT) |
commit | 5732a44092e17829985a381400bafccc326a0d1f (patch) | |
tree | 49d83690535244d81b421806042a81a0764238d1 /doc/src/snippets/declarative | |
parent | 91251b69edd966965bf7944aec642321c362af2a (diff) | |
download | Qt-5732a44092e17829985a381400bafccc326a0d1f.zip Qt-5732a44092e17829985a381400bafccc326a0d1f.tar.gz Qt-5732a44092e17829985a381400bafccc326a0d1f.tar.bz2 |
Rename Component::errorsString() -> errorString() (and also for
QDeclarativeComponent)
Diffstat (limited to 'doc/src/snippets/declarative')
-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 f6fb379..25bc10c 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; |