More fixing

This commit is contained in:
Niels 2025-06-07 17:32:27 +02:00
parent 54b997ad61
commit 0ef6d8895f
2 changed files with 3 additions and 9 deletions

View File

@ -225,9 +225,7 @@ Page {
delegate: SmallStationsDelegate {
flagVisible: true
onClicked: {
console.log("*** CLICKED")
if (model.url_resolved !== radioPlayer._url_resolved) {
console.log("*** URL_RESOLVED")
radioPlayer._countrycode = model.countrycode// THIS IS THE FUNCTION DESTROYING AARCH64?!?
radioPlayer._favicon = model.favicon
radioPlayer._name = model.name
@ -239,7 +237,6 @@ Page {
radioPlayer._homepage = model.homepage
radioPlayer._stationuuid = model.stationuuid
radioPlayer.getStationFavorite(model.stationuuid)
console.log("*** URL_RESOLVED END")
}
}
}
@ -294,9 +291,7 @@ Page {
delegate: SmallStationsDelegate {
flagVisible: false
onClicked: {
console.log("*** CLICKED")
if (model.url_resolved !== radioPlayer._url_resolved) {
console.log("*** URL_RESOLVED")
radioPlayer._countrycode = model.countrycode// THIS IS THE FUNCTION DESTROYING AARCH64?!?
radioPlayer._favicon = model.favicon
radioPlayer._name = model.name
@ -308,7 +303,6 @@ Page {
radioPlayer._homepage = model.homepage
radioPlayer._stationuuid = model.stationuuid
radioPlayer.getStationFavorite(model.stationuuid)
console.log("*** URL_RESOLVED END")
}
}
}

View File

@ -8,7 +8,7 @@ Page {
property string filterby
property alias searchby: getCountryStations.order
property string searchtext: ""
property string countrycode: ""
property string _countrycode: ""
property int stationCount: 0
property alias name: getCountryStations.name
property alias tag: getCountryStations.tag
@ -86,7 +86,7 @@ Page {
height: ccode.height * 0.8
fillMode: Image.PreserveAspectFit
smooth: true
source: countrycode === "" ? "../images/bycountry_t.png" : "../flags/"+countrycode.toLowerCase()+".png"
source: _countrycode === "" ? "../images/bycountry_t.png" : "../flags/"+_countrycode.toLowerCase()+".png"
}
Label {
id: ccode
@ -207,7 +207,7 @@ Page {
}
Component.onCompleted: {
getCountryStations.countrycode=countrycode
getCountryStations.countrycode=_countrycode
getCountryStations.order=searchby
getCountryStations.getStations()
}