summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-02-08 20:59:46 +0000
committersr55 <[email protected]>2010-02-08 20:59:46 +0000
commit974fc416c9b792a5e7b1b2ce59083f68f2e6f8c4 (patch)
tree615ce4cd2177b363ff7393e2e8825dfba8d0bc24 /win/C#/Functions
parente9d428e473e896b6a8d699c9c745e200869cfd69 (diff)
WinGui:
- Banish % Quality display. - Code Refactoring. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3105 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions')
-rw-r--r--win/C#/Functions/PresetLoader.cs2
-rw-r--r--win/C#/Functions/QueryGenerator.cs7
-rw-r--r--win/C#/Functions/QueryParser.cs2
3 files changed, 6 insertions, 5 deletions
diff --git a/win/C#/Functions/PresetLoader.cs b/win/C#/Functions/PresetLoader.cs
index c88ff2d59..a6614b99c 100644
--- a/win/C#/Functions/PresetLoader.cs
+++ b/win/C#/Functions/PresetLoader.cs
@@ -217,7 +217,7 @@ namespace Handbrake.Functions
#endregion
#region Other
- mainWindow.x264Panel.x264Query = presetQuery.H264Query;
+ mainWindow.x264Panel.X264Query = presetQuery.H264Query;
// Set the preset name
mainWindow.labelPreset.Text = "Output Settings (Preset: " + name + ")";
diff --git a/win/C#/Functions/QueryGenerator.cs b/win/C#/Functions/QueryGenerator.cs
index 03fa22c83..499b11d2e 100644
--- a/win/C#/Functions/QueryGenerator.cs
+++ b/win/C#/Functions/QueryGenerator.cs
@@ -9,6 +9,7 @@ using System.Windows.Forms;
using System.Globalization;
using System.IO;
using System.Collections.Generic;
+using Handbrake.Model;
namespace Handbrake.Functions
{
@@ -400,7 +401,7 @@ namespace Handbrake.Functions
string srtDefault = String.Empty;
int srtCount = 0;
- List<Controls.SubtitleInfo> SubList = mainWindow.Subtitles.GetSubtitleInfoList();
+ List<SubtitleInfo> SubList = mainWindow.Subtitles.GetSubtitleInfoList();
foreach (var item in SubList)
{
@@ -524,8 +525,8 @@ namespace Handbrake.Functions
#endregion
#region H264 Tab
- if (mainWindow.x264Panel.x264Query != "")
- query += " -x " + mainWindow.x264Panel.x264Query;
+ if (mainWindow.x264Panel.X264Query != "")
+ query += " -x " + mainWindow.x264Panel.X264Query;
#endregion
#region Processors / Other
diff --git a/win/C#/Functions/QueryParser.cs b/win/C#/Functions/QueryParser.cs
index 413f8fa4c..216d114ac 100644
--- a/win/C#/Functions/QueryParser.cs
+++ b/win/C#/Functions/QueryParser.cs
@@ -424,7 +424,7 @@ namespace Handbrake.Functions
catch (Exception exc)
{
MessageBox.Show(
- "An error has occured in the Query Parser. Please report this error on the forum in the 'Windows' support section. \n\n" +
+ "An error has occured in the Query Parser.\n\n" +
exc, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}