summaryrefslogtreecommitdiffstats
path: root/examples/declarative/sql
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/sql')
-rw-r--r--examples/declarative/sql/hello.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/declarative/sql/hello.qml b/examples/declarative/sql/hello.qml
index a9f77ca..8b021b7 100644
--- a/examples/declarative/sql/hello.qml
+++ b/examples/declarative/sql/hello.qml
@@ -1,6 +1,8 @@
import Qt 4.7
Text {
+ text: "?"
+
function findGreetings() {
var db = openDatabaseSync("QDeclarativeExampleDB", "1.0", "The Example QML SQL!", 1000000);
@@ -24,7 +26,6 @@ Text {
)
}
- text: "?"
Component.onCompleted: findGreetings()
}