mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-01 23:35:55 +00:00
Save preferences on destruction in case the user closes Moonlight directly from the settings page
This commit is contained in:
parent
53098edc85
commit
89e9652075
@ -41,6 +41,12 @@ Flickable {
|
||||
StreamingPreferences.save()
|
||||
}
|
||||
|
||||
Component.onDestruction: {
|
||||
// Also save preferences on destruction, since we won't get a
|
||||
// deactivating callback if the user just closes Moonlight
|
||||
StreamingPreferences.save()
|
||||
}
|
||||
|
||||
Column {
|
||||
padding: 10
|
||||
id: settingsColumn1
|
||||
|
Loading…
x
Reference in New Issue
Block a user