From 24ecdf899627ad974f42368ed964c4aa6bfe086e Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Mon, 18 Jun 2012 15:05:03 -0300 Subject: 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. --- src/mobile/qml/Main.qml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') 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 { -- cgit v1.2.1