diff options
author | sr55 <[email protected]> | 2018-09-22 21:36:22 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2018-09-22 21:36:22 +0100 |
commit | e8f7443a6f31f657f0b51721bb4ff12cea9b5d5a (patch) | |
tree | fd0c2563715c8fda204843749295ca91ee13cdb5 /win/CS/HandBrakeWPF/Services | |
parent | c0ab54be2370f7ddd889738a425e8076d76c9043 (diff) |
WinGui: Adding Stats and Log Tabs to the new experimental queue view. #1087
Diffstat (limited to 'win/CS/HandBrakeWPF/Services')
-rw-r--r-- | win/CS/HandBrakeWPF/Services/Queue/Model/QueueStats.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/Services/Queue/Model/QueueStats.cs b/win/CS/HandBrakeWPF/Services/Queue/Model/QueueStats.cs index d12c99059..77454c4ad 100644 --- a/win/CS/HandBrakeWPF/Services/Queue/Model/QueueStats.cs +++ b/win/CS/HandBrakeWPF/Services/Queue/Model/QueueStats.cs @@ -68,6 +68,11 @@ namespace HandBrakeWPF.Services.Queue.Model { get { + if (this.endTime == DateTime.MinValue) + { + return TimeSpan.MinValue; + } + return this.EndTime - this.StartTime - this.PausedDuration; } } |