import QtQuick 2.0 import Sailfish.Silica 1.0 import Nemo.Configuration 1.0 import "pages" ApplicationWindow { id: appWindow ConfigurationGroup { id: appSettings path: "/apps/harbour-nextcloudnotes/settings" property var accounts: [ ] // FIXME property int currentAccount: 0 // FIXME // For testing Component.onCompleted: { appSettings.clear() //accounts[0] = { server: "127.0.0.1", username: "fu", password: "bar", lastUpdate: new Date(0) } //accounts[1] = { server: "127.0.0.2", username: "fu", password: "bar", lastUpdate: new Date(0) } //accounts[2] = { server: "127.0.0.3", username: "fu", password: "bar", lastUpdate: new Date(0) } console.log("Configured accounts: " + accounts.length) for(var i=0; i