summaryrefslogtreecommitdiffstats
path: root/win/C#/Controls/AudioPanel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-01-29 22:25:36 +0000
committersr55 <[email protected]>2011-01-29 22:25:36 +0000
commitd7a70498c42ef73540589c36963b1a4ff57bf238 (patch)
treea7ad00ed5439196d18c86987946d2fa7867e588f /win/C#/Controls/AudioPanel.cs
parentc9c50d62e5ea118f68b9079b514b58bd5016e2c5 (diff)
WinGui:
- Moved the plist and query parsing code into new Utility classes in the app services. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3775 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Controls/AudioPanel.cs')
-rw-r--r--win/C#/Controls/AudioPanel.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/C#/Controls/AudioPanel.cs b/win/C#/Controls/AudioPanel.cs
index cb2433548..ba9c1794e 100644
--- a/win/C#/Controls/AudioPanel.cs
+++ b/win/C#/Controls/AudioPanel.cs
@@ -14,6 +14,7 @@ namespace Handbrake.Controls
using HandBrake.ApplicationServices.Model;
using HandBrake.ApplicationServices.Parsing;
+ using HandBrake.ApplicationServices.Utilities;
using Presets;
@@ -151,7 +152,7 @@ namespace Handbrake.Controls
// Add any tracks the preset has, if there is a preset and no audio tracks in the list currently
if (audioList.Rows.Count == 0 && preset != null)
{
- QueryParser parsed = QueryParser.Parse(preset.Query);
+ QueryParserUtility parsed = QueryParserUtility.Parse(preset.Query);
foreach (AudioTrack audioTrack in parsed.AudioInformation)
{
DataGridViewRow newTrack = new DataGridViewRow();