diff options
author | sr55 <[email protected]> | 2012-06-16 12:40:05 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-06-16 12:40:05 +0000 |
commit | ff27427d20803a01800a288fbd3d8426cab7eb56 (patch) | |
tree | f6b4ed03656149433cbe9d436df9c8b88c6ac76b /win/CS/HandBrake.ApplicationServices | |
parent | 0238140a12f273586ff1ad0b2416690fa44a4ecb (diff) |
WinGui: Various fixes
- Add tooltip to each queue item to indicate some primary settings.
- Removed some legacy preset code.
- Fixed Queue Recovery
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4740 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices')
3 files changed, 1 insertions, 8 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/Preset.cs b/win/CS/HandBrake.ApplicationServices/Model/Preset.cs index 2a9a1693e..448d1a33e 100644 --- a/win/CS/HandBrake.ApplicationServices/Model/Preset.cs +++ b/win/CS/HandBrake.ApplicationServices/Model/Preset.cs @@ -25,11 +25,6 @@ namespace HandBrake.ApplicationServices.Model public string Name { get; set; }
/// <summary>
- /// Gets or sets the preset query
- /// </summary>
- public string Query { get; set; }
-
- /// <summary>
/// Gets or sets The version number which associates this preset with a HB build
/// </summary>
public string Version { get; set; }
diff --git a/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs b/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs index a4946278a..804a963b6 100644 --- a/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs +++ b/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs @@ -153,7 +153,6 @@ namespace HandBrake.ApplicationServices.Services {
if (preset.Name == update.Name)
{
- preset.Query = update.Query;
preset.Task = update.Task;
preset.UsePictureFilters = update.UsePictureFilters;
@@ -304,7 +303,6 @@ namespace HandBrake.ApplicationServices.Services {
Category = category,
Name = presetName[0].Replace("+", string.Empty).Trim(),
- Query = presetName[2],
Version = this.userSettingService.GetUserSetting<string>(ASUserSettingConstants.HandBrakeVersion),
Description = string.Empty, // Maybe one day we will populate this.
IsBuildIn = true,
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs index 9f2c70bcf..6cf009285 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/PlistUtility.cs @@ -496,7 +496,7 @@ namespace HandBrake.ApplicationServices.Utilities return;
}
- EncodeTask parsed = QueryParserUtility.Parse(preset.Query);
+ EncodeTask parsed = new EncodeTask(preset.Task);
using (XmlTextWriter xmlWriter = new XmlTextWriter(path, Encoding.UTF8) { Formatting = Formatting.Indented })
{
// Header
|