summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs22
1 files changed, 2 insertions, 20 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs b/win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs
index 245a3171d..8c2425ee7 100644
--- a/win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs
+++ b/win/CS/HandBrake.ApplicationServices/Model/QueueTask.cs
@@ -5,19 +5,12 @@
namespace HandBrake.ApplicationServices.Model
{
- using HandBrake.ApplicationServices.Utilities;
-
/// <summary>
/// The QueueTask.
/// </summary>
public class QueueTask
{
/// <summary>
- /// The Encode task backing field.
- /// </summary>
- private EncodeTask task;
-
- /// <summary>
/// Initializes a new instance of the <see cref="QueueTask"/> class.
/// </summary>
public QueueTask()
@@ -71,20 +64,9 @@ namespace HandBrake.ApplicationServices.Model
public QueueItemStatus Status { get; set; }
/// <summary>
- /// Gets the Encode Task.
+ /// Gets or sets the Encode Task.
/// </summary>
- public EncodeTask Task
- {
- get
- {
- if (this.task == null)
- {
- task = QueryParserUtility.Parse(this.Query);
- }
-
- return this.task;
- }
- }
+ public EncodeTask Task { get; set; }
/// <summary>
/// Gets a value indicating whether or not this instance is empty.