summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorGatis Paeglis <gatis.paeglis@qt.io>2016-06-24 12:19:15 +0200
committerGatis Paeglis <gatis.paeglis@qt.io>2016-06-24 10:36:49 +0000
commit43ffca33bc1fcdb722654b368953aed5e962ea17 (patch)
treef93e8e98d90176a4b81531afaedf21a825566757 /examples
parentf3f17eebfbff4f91eee5c01ced7ebe6bc7799fc3 (diff)
Add ::rollbackAvailable() API.
Change-Id: I08dbc375c52e4cf2e5766275adaf2e7ce88ecb6a Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/qml/basic/main.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/qml/basic/main.qml b/examples/qml/basic/main.qml
index b8dd280..cd0f0c4 100644
--- a/examples/qml/basic/main.qml
+++ b/examples/qml/basic/main.qml
@@ -72,6 +72,7 @@ Window {
}
}
Button {
+ visible: OTAClient.rollbackAvailable
text: "Rollback"
onClicked: {
log("Roolback...")