mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 16:05:21 +01:00
Enable telemetry
- Phone back home image downloaded for image popularity research. Only in case image comes from our repository (NOT for custom images)
This commit is contained in:
parent
f6a8c4d943
commit
95ce718d41
9 changed files with 111 additions and 9 deletions
6
main.qml
6
main.qml
|
@ -261,6 +261,7 @@ ApplicationWindow {
|
|||
height: parent.height-50
|
||||
padding: 0
|
||||
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
|
||||
property string categorySelected : ""
|
||||
|
||||
// background of title
|
||||
Rectangle {
|
||||
|
@ -936,13 +937,16 @@ ApplicationWindow {
|
|||
else
|
||||
suboslist.currentIndex = -1
|
||||
osswipeview.setCurrentIndex(1)
|
||||
ospopup.categorySelected = d.name
|
||||
} else if (typeof(d.subitems_url) == "string" && d.subitems_url !== "") {
|
||||
if (d.subitems_url === "internal://back")
|
||||
{
|
||||
osswipeview.setCurrentIndex(0)
|
||||
ospopup.categorySelected = ""
|
||||
}
|
||||
else
|
||||
{
|
||||
ospopup.categorySelected = d.name
|
||||
var suburl = d.subitems_url
|
||||
if (subosmodel.count>1)
|
||||
{
|
||||
|
@ -994,7 +998,7 @@ ApplicationWindow {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
imageWriter.setSrc(d.url, d.image_download_size, d.extract_size, typeof(d.extract_sha256) != "undefined" ? d.extract_sha256 : "", typeof(d.contains_multiple_files) != "undefined" ? d.contains_multiple_files : false)
|
||||
imageWriter.setSrc(d.url, d.image_download_size, d.extract_size, typeof(d.extract_sha256) != "undefined" ? d.extract_sha256 : "", typeof(d.contains_multiple_files) != "undefined" ? d.contains_multiple_files : false, ospopup.categorySelected, d.name)
|
||||
osbutton.text = d.name
|
||||
ospopup.close()
|
||||
if (imageWriter.readyToWrite()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue