From e9eb3f1ab503a765f44d68ac91ffddfec4d3cd20 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 7 Aug 2011 21:33:19 +0000 Subject: WinGui: Removed some unneeded code git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4162 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs | 10 ---------- win/CS/HandBrake.ApplicationServices/Services/Encode.cs | 1 - win/CS/HandBrake.ApplicationServices/Services/QueueManager.cs | 1 - 3 files changed, 12 deletions(-) (limited to 'win/CS') diff --git a/win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs b/win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs index aa71a2819..cee9ad36f 100644 --- a/win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs +++ b/win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs @@ -71,16 +71,6 @@ namespace HandBrake.ApplicationServices.Model /// public QueueItemStatus Status { get; set; } - /// - /// Gets or sets StartTime. - /// - public DateTime StartTime { get; set; } - - /// - /// Gets or sets ElaspedEncodeTime. - /// - public TimeSpan ElaspedEncodeTime { get; set; } - /// /// Gets or sets the Encode Task. /// diff --git a/win/CS/HandBrake.ApplicationServices/Services/Encode.cs b/win/CS/HandBrake.ApplicationServices/Services/Encode.cs index 953831732..6acfe5807 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/Encode.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/Encode.cs @@ -169,7 +169,6 @@ namespace HandBrake.ApplicationServices.Services } catch (Exception exc) { - TimeSpan time = DateTime.Now.Subtract(this.currentTask.StartTime); this.Invoke_encodeCompleted( new EncodeCompletedEventArgs( false, exc, "An Error occured when trying to encode this source. ")); diff --git a/win/CS/HandBrake.ApplicationServices/Services/QueueManager.cs b/win/CS/HandBrake.ApplicationServices/Services/QueueManager.cs index d8ebbf31e..da8ac5433 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/QueueManager.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/QueueManager.cs @@ -212,7 +212,6 @@ namespace HandBrake.ApplicationServices.Services if (job != null) { job.Status = QueueItemStatus.InProgress; - job.StartTime = DateTime.Now; this.LastProcessedJob = job; InvokeQueueChanged(EventArgs.Empty); } -- cgit v1.2.3