QML: Fix error message formatting in 8. tutorial
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
066f8dd53c
commit
42c6991a8f
@ -53,11 +53,13 @@ contains some QMT element to draw stuff.
|
|||||||
If you try to use the Qt style settings syntax
|
If you try to use the Qt style settings syntax
|
||||||
`settings.value('key', 'default')` you will receive an error message
|
`settings.value('key', 'default')` you will receive an error message
|
||||||
like this one:
|
like this one:
|
||||||
> "Could not convert argument 0 at"
|
```
|
||||||
|
"Could not convert argument 0 at"
|
||||||
"@file://falkon/plugins/qml_tutorial_8/main.qml:13"
|
"@file://falkon/plugins/qml_tutorial_8/main.qml:13"
|
||||||
"Passing incompatible arguments to C++ functions from JavaScript is dangerous and deprecated."
|
"Passing incompatible arguments to C++ functions from JavaScript is dangerous and deprecated."
|
||||||
"This will throw a JavaScript TypeError in future releases of Qt!"
|
"This will throw a JavaScript TypeError in future releases of Qt!"
|
||||||
Unable to get value: key not defined
|
Unable to get value: key not defined
|
||||||
|
```
|
||||||
|
|
||||||
Thus use a proper Falkon settings syntax eg.
|
Thus use a proper Falkon settings syntax eg.
|
||||||
```qml
|
```qml
|
||||||
|
Loading…
Reference in New Issue
Block a user