fix(qml): drop the CastPicker quality height binding loop
cc
This commit is contained in:
1 file changed
+4
-1
@@ -289,7 +289,10 @@ Popup {
|
|||||||
Text {
|
Text {
|
||||||
visible: QbzCast.connected && QbzCast.qualityDetail !== ""
|
visible: QbzCast.connected && QbzCast.qualityDetail !== ""
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: visible ? implicitHeight : 0
|
// No `height:` binding: a Text without one takes its
|
||||||
|
// implicit height and a Column skips invisible items;
|
||||||
|
// the explicit binding raised a "binding loop for
|
||||||
|
// property height" warning on every connect.
|
||||||
text: QbzSession.tr("Streaming {} · {}", QbzSession.trRev)
|
text: QbzSession.tr("Streaming {} · {}", QbzSession.trRev)
|
||||||
.replace("{}", QbzCast.protocol === "dlna" ? "DLNA" : "Chromecast")
|
.replace("{}", QbzCast.protocol === "dlna" ? "DLNA" : "Chromecast")
|
||||||
.replace("{}", QbzCast.qualityDetail) + root.qualitySuffix
|
.replace("{}", QbzCast.qualityDetail) + root.qualitySuffix
|
||||||
|
|||||||
Reference in new issue
Block a user