formatting
This commit is contained in:
parent
f0ef9ac7b0
commit
82e42ad5c2
3 changed files with 1 additions and 4 deletions
|
|
@ -236,7 +236,6 @@ NBox {
|
|||
color: Colors.mSurface
|
||||
Layout.fillWidth: true
|
||||
|
||||
|
||||
property real progressRatio: {
|
||||
if (!MediaPlayer.currentPlayer || !MediaPlayer.isPlaying || MediaPlayer.trackLength <= 0) {
|
||||
return 0
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Singleton {
|
|||
property string trackArtist: currentPlayer ? (currentPlayer.trackArtist || "") : ""
|
||||
property string trackAlbum: currentPlayer ? (currentPlayer.trackAlbum || "") : ""
|
||||
property string trackArtUrl: currentPlayer ? (currentPlayer.trackArtUrl || "") : ""
|
||||
property real trackLength: currentPlayer ? ((currentPlayer.length < infiniteTrackLength) ? currentPlayer.length : 0) : 0
|
||||
property real trackLength: currentPlayer ? ((currentPlayer.length < infiniteTrackLength) ? currentPlayer.length : 0) : 0
|
||||
property bool canPlay: currentPlayer ? currentPlayer.canPlay : false
|
||||
property bool canPause: currentPlayer ? currentPlayer.canPause : false
|
||||
property bool canGoNext: currentPlayer ? currentPlayer.canGoNext : false
|
||||
|
|
|
|||
|
|
@ -214,8 +214,6 @@ QtObject {
|
|||
scanProcess.existingNetwork = {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
property Process connectProcess: Process {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue