summaryrefslogtreecommitdiffstats
path: root/examples/declarative
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-09-24 01:29:02 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-09-24 01:29:02 (GMT)
commitbbf8b8ee6cb202acc654b7a8aa85cb6c63460842 (patch)
treee9abf5a650aa29e286f38e2e3371e074738b1c86 /examples/declarative
parent6583aa21cfe822ea7d094b22a22caa06289d34bd (diff)
downloadQt-bbf8b8ee6cb202acc654b7a8aa85cb6c63460842.zip
Qt-bbf8b8ee6cb202acc654b7a8aa85cb6c63460842.tar.gz
Qt-bbf8b8ee6cb202acc654b7a8aa85cb6c63460842.tar.bz2
Fix example.
Diffstat (limited to 'examples/declarative')
-rw-r--r--examples/declarative/ui-components/searchbox/SearchBox.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/ui-components/searchbox/SearchBox.qml b/examples/declarative/ui-components/searchbox/SearchBox.qml
index 60fa799..d000750 100644
--- a/examples/declarative/ui-components/searchbox/SearchBox.qml
+++ b/examples/declarative/ui-components/searchbox/SearchBox.qml
@@ -54,7 +54,7 @@ FocusScope {
source: "images/lineedit-bg-focus.png"
width: parent.width; height: parent.height
border { left: 4; top: 4; right: 4; bottom: 4 }
- visible: parent.wantsFocus ? true : false
+ visible: parent.activeFocus ? true : false
}
Text {