id: listModel
Component.onCompleted: {
listModel.clear()
- var string = engine.restoreBookmarks()
+ var string = engine.restoreSetting("bookmarks")
if (!string)
return
var list = JSON.parse(string)
}
if (!list.length)
return
- engine.saveBookmarks(JSON.stringify(list))
+ engine.saveSetting("bookmarks", JSON.stringify(list))
}
}
font.family: defaultFontFamily
font.pixelSize: message.font.pixelSize
text: "Oops!..."
+ color: iconOverlayColor
}
}
top: message.bottom
left: parent.left
right: parent.right
- bottomMargin: toolBarSize
+ bottomMargin: 70
}
UIButton {
color: uiColor
- implicitWidth: 160
- implicitHeight: 65
+ implicitWidth: 180
+ implicitHeight: 70
visible: messageBox.state != "empty"
anchors {
horizontalCenter: parent.horizontalCenter