Fix Transfer.time_left that could be None

This commit is contained in:
miruka
2020-03-09 17:36:47 -04:00
parent f9f558cd34
commit 49966e06ad
3 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ HColumnLayout {
id: transfer
property int msLeft: model.time_left || 0
property int msLeft: model.time_left
property int uploaded: model.uploaded
readonly property int speed: model.speed
readonly property int totalSize: model.total_size