1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-15 06:52:34 +02:00

Make settings only load texts when needed

This commit is contained in:
kelteseth 2018-09-29 11:40:16 +02:00
parent 8b7b340272
commit 8799579e28

View File

@ -351,6 +351,7 @@ Item {
description: qsTr("ScreenPlay would not be possible without the work of others. A big thank you to: ")
buttonText: qsTr("Licenses")
onButtonPressed: {
screenPlaySettings.requestAllLicenses()
expanderCopyright.toggle()
}
}
@ -361,7 +362,6 @@ Item {
right: parent.right
}
Component.onCompleted: screenPlaySettings.requestAllLicenses()
Connections {
target: screenPlaySettings
@ -377,6 +377,7 @@ Item {
description: qsTr("We use you data very carefully to improve ScreenPlay. We do not sell or share this (anonymous) information with others!")
buttonText: qsTr("Privacy")
onButtonPressed: {
screenPlaySettings.requestAllLDataProtection()
expanderDataProtection.toggle()
}
}
@ -387,7 +388,6 @@ Item {
right: parent.right
}
Component.onCompleted: screenPlaySettings.requestAllLDataProtection()
Connections {
target: screenPlaySettings