summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2012-06-18 15:05:03 -0300
committerHugo Parente Lima <hugo.lima@openbossa.org>2012-06-18 15:05:03 -0300
commit24ecdf899627ad974f42368ed964c4aa6bfe086e (patch)
tree1a7ebac2033b98295175fd95eeeb647fd22add1c
parentd1d7481f9bd8e048bb171a7b2b309e5434249268 (diff)
downloadsnowshoe-24ecdf899627ad974f42368ed964c4aa6bfe086e.tar.gz
The designers changed their minds about the start up behavior, so reverting this commit to implement yet another different behavior.
Revert "Open "new url" dialog when the browser is started and there's no items on the bookmark." This reverts commit 4f365a2007ab52b244a951a5570fde7a3d265cfa.
-rw-r--r--src/mobile/qml/Main.qml6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mobile/qml/Main.qml b/src/mobile/qml/Main.qml
index 6fc152d..2a156b9 100644
--- a/src/mobile/qml/Main.qml
+++ b/src/mobile/qml/Main.qml
@@ -161,11 +161,7 @@ Rectangle {
// then to true on start up causing a cascade misbehaviour, the workaround
// is to set the state of the root element on Component.onCompleted.
// state: "favorites"
- Component.onCompleted: {
- state = "favorites";
- if (!BookmarkModel.count)
- urlInputPanel.showForNewTab();
- }
+ Component.onCompleted: state = "favorites"
states: [
State {