summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Olszak <olszak.tomasz@gmail.com>2013-06-26 20:11:27 +0000
committerJarosław Staniek <staniek@kde.org>2013-06-26 22:15:46 +0200
commit0516acc78a38cf1f7b9f8b878df261b9069b46cd (patch)
tree3896185b8f134dab3e643b6cf6cf295cffce7b16
parent4fa884a79e4fd46a553aa5ad1b8d6b02ff27f414 (diff)
default value of View.backAction removed
Change-Id: I86055a428cef31a382c5143662e48d4bb571442e Reviewed-by: Jarosław Staniek <staniek@kde.org>
-rw-r--r--examples/twitter/content/TwitterView.qml1
-rw-r--r--src/controls/View.qml2
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/twitter/content/TwitterView.qml b/examples/twitter/content/TwitterView.qml
index fda2740..fd04972 100644
--- a/examples/twitter/content/TwitterView.qml
+++ b/examples/twitter/content/TwitterView.qml
@@ -58,4 +58,5 @@ View {
flickableItem: listView
}
}
+ backAction.onTriggered: Qt.quit()
}
diff --git a/src/controls/View.qml b/src/controls/View.qml
index 586ec38..b717a73 100644
--- a/src/controls/View.qml
+++ b/src/controls/View.qml
@@ -45,6 +45,6 @@ Control {
ToolBar { id: prvToolBar; view: root }
Action {
id: prvBackAction
- onTriggered: { console.debug("Quit!"); Qt.quit(); }
+// onTriggered: { console.debug("Quit!"); Qt.quit(); }
}
}