Bump version to 2.0.20
This commit is contained in:
parent
3c7f0bd111
commit
ed8dcd979c
@ -9,7 +9,7 @@ import "helpers"
|
|||||||
ApplicationWindow
|
ApplicationWindow
|
||||||
{
|
{
|
||||||
id: allRadio
|
id: allRadio
|
||||||
property string _version: "2.0.19"
|
property string _version: "2.0.20"
|
||||||
property string _language: Qt.locale().name.slice(0,2)
|
property string _language: Qt.locale().name.slice(0,2)
|
||||||
property string _country: Qt.locale().name.slice(-2)
|
property string _country: Qt.locale().name.slice(-2)
|
||||||
property int sleepTime: 0
|
property int sleepTime: 0
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
|
import QtQml 2.2
|
||||||
import Sailfish.Silica 1.0
|
import Sailfish.Silica 1.0
|
||||||
import QtQuick.LocalStorage 2.0
|
import QtQuick.LocalStorage 2.0
|
||||||
import QtGraphicalEffects 1.0
|
import QtGraphicalEffects 1.0
|
||||||
@ -42,6 +43,50 @@ Dialog {
|
|||||||
MenuItem { text: qsTr("Random favorite") }
|
MenuItem { text: qsTr("Random favorite") }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Label {
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.rightMargin: Theme.paddingLarge
|
||||||
|
color: Theme.highlightColor
|
||||||
|
font.pixelSize: Theme.fontSizeLarge
|
||||||
|
text: qsTr("Server settings")
|
||||||
|
}
|
||||||
|
|
||||||
|
Separator {
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.rightMargin: Theme.paddingMedium
|
||||||
|
color: Theme.highlightColor
|
||||||
|
}
|
||||||
|
|
||||||
|
ComboBox {
|
||||||
|
id: serverL
|
||||||
|
width: parent.width
|
||||||
|
label: qsTr("Server")
|
||||||
|
anchors.margins: Theme.paddingLarge
|
||||||
|
description: qsTr("Select anohter server")
|
||||||
|
//currentIndex: Favorites.getSetting("appStart",0)
|
||||||
|
menu : ContextMenu {
|
||||||
|
id: contextMenu
|
||||||
|
Column {
|
||||||
|
Repeater {
|
||||||
|
|
||||||
|
model: radioBrowser.serversModel
|
||||||
|
delegate: QtObject {
|
||||||
|
property Item child: MenuItem {
|
||||||
|
text: modelData
|
||||||
|
onClicked: console.log("***")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* menu: ContextMenu {
|
||||||
|
MenuItem { text: qsTr("None") }
|
||||||
|
MenuItem { text: qsTr("Last played") }
|
||||||
|
MenuItem { text: qsTr("Random favorite") }
|
||||||
|
}*/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
onAccepted: Favorites.setSetting("appStart",appStart.currentIndex)
|
onAccepted: Favorites.setSetting("appStart",appStart.currentIndex)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user