diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-07-21 02:23:15 (GMT) |
---|---|---|
committer | Toby Tomkins <toby.tomkins@nokia.com> | 2010-07-26 07:08:07 (GMT) |
commit | 056bbc32fd64f48851e6ad058c5e4c1372a96564 (patch) | |
tree | a76fc7d01d913e371c949d839d40d3f394960d55 /demos/declarative/webbrowser/content/UrlInput.qml | |
parent | acebca36dc84677bb0875297b1739e15025323bb (diff) | |
download | Qt-056bbc32fd64f48851e6ad058c5e4c1372a96564.zip Qt-056bbc32fd64f48851e6ad058c5e4c1372a96564.tar.gz Qt-056bbc32fd64f48851e6ad058c5e4c1372a96564.tar.bz2 |
QML focus API updates.
The wantsFocus property has been renamed to activeFocus, to better
reflect its value. Reading and writing the focus property is also now
consistent -- this property represents focus within a scope. Other small
changes were made to keep things consistent with the new naming.
Reviewed-by: Aaron Kennedy
(cherry picked from commit 21806ff0921641b4e4d9d39721ab4ebeae74dddc)
Diffstat (limited to 'demos/declarative/webbrowser/content/UrlInput.qml')
-rw-r--r-- | demos/declarative/webbrowser/content/UrlInput.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/declarative/webbrowser/content/UrlInput.qml b/demos/declarative/webbrowser/content/UrlInput.qml index 9992456..4f49821 100644 --- a/demos/declarative/webbrowser/content/UrlInput.qml +++ b/demos/declarative/webbrowser/content/UrlInput.qml @@ -69,7 +69,7 @@ Item { TextInput { id: urlText horizontalAlignment: TextEdit.AlignLeft - font.pixelSize: 14; focusOnPress: true + font.pixelSize: 14; onTextChanged: container.urlChanged() |