summaryrefslogtreecommitdiffstats
path: root/win/CS/frmAddPreset.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-04-12 20:57:04 +0000
committersr55 <[email protected]>2012-04-12 20:57:04 +0000
commit7e30c376744239d22856895406c94a08c24c007a (patch)
treeda98844d37025d1f11dbb01d879e0ddbe082623e /win/CS/frmAddPreset.cs
parent62ee548526fb578b9027ef0d9deac02e509872f8 (diff)
WinGui: Remove deprecated variable to avoid confusion.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4598 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/frmAddPreset.cs')
-rw-r--r--win/CS/frmAddPreset.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/CS/frmAddPreset.cs b/win/CS/frmAddPreset.cs
index da3b1baf4..6bbfb3918 100644
--- a/win/CS/frmAddPreset.cs
+++ b/win/CS/frmAddPreset.cs
@@ -10,6 +10,7 @@ namespace Handbrake
using HandBrake.ApplicationServices.Model;
using HandBrake.ApplicationServices.Services;
+ using HandBrake.ApplicationServices.Utilities;
using Handbrake.Functions;
using Handbrake.Model;
@@ -88,7 +89,7 @@ namespace Handbrake
Query = query,
CropSettings = pictureSettingsMode != QueryPictureSettingsMode.None,
Description = string.Empty,
- AudioPassthruSettings = mainWindow.AudioSettings.PassthruSettings
+ Task = QueryParserUtility.Parse(query),
};
if (presetCode.Add(preset))