1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-13 08:52:50 -05:00

Fix warnings

This commit is contained in:
purian23
2025-09-03 23:58:53 -04:00
parent 998d390161
commit 9e0693ca8c
2 changed files with 16 additions and 2 deletions

View File

@@ -28,7 +28,9 @@ Rectangle {
onActivePlayerChanged: {
if (activePlayer && activePlayer.positionSupported) {
currentPosition = Qt.binding(() => activePlayer?.position)
currentPosition = Qt.binding(() => activePlayer?.position || 0)
} else {
currentPosition = 0
}
}