mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2025-01-23 08:05:01 +00:00
Refresh the bitrate text when the language changes
This commit is contained in:
parent
f1f3c8bfb9
commit
b53333d1ba
1 changed files with 5 additions and 0 deletions
|
@ -641,6 +641,11 @@ Flickable {
|
|||
bitrateTitle.text = qsTr("Video bitrate: %1 Mbps").arg(value / 1000.0)
|
||||
StreamingPreferences.bitrateKbps = value
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
// Refresh the text after translations change
|
||||
languageChanged.connect(onValueChanged)
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
|
|
Loading…
Reference in a new issue