summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-04-23 22:10:44 +0000
committersr55 <[email protected]>2010-04-23 22:10:44 +0000
commit63589dc23e487ff7d2b839e74dc65d6157f02a22 (patch)
tree3c9e93b973d44338f49fbfe86b29502ca9c51ad9 /win/C#/Functions
parent9d83f1c5539761bcae5b351669ac8a5c7bb1eace (diff)
WinGui:
- Updated to make sure of the MainFeature feature. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3256 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions')
-rw-r--r--win/C#/Functions/Main.cs25
1 files changed, 0 insertions, 25 deletions
diff --git a/win/C#/Functions/Main.cs b/win/C#/Functions/Main.cs
index 02f6c80f1..4bce2a7fa 100644
--- a/win/C#/Functions/Main.cs
+++ b/win/C#/Functions/Main.cs
@@ -59,31 +59,6 @@ namespace Handbrake.Functions
}
/// <summary>
- /// Select the longest title in the DVD title dropdown menu on frmMain
- /// </summary>
- /// <param name="source">
- /// The Source.
- /// </param>
- /// <returns>
- /// The longest title.
- /// </returns>
- public static Title SelectLongestTitle(DVD source)
- {
- TimeSpan longestDurationFound = TimeSpan.FromSeconds(0.0);
- Title returnTitle = null;
-
- foreach (Title item in source.Titles)
- {
- if (item.Duration > longestDurationFound)
- {
- returnTitle = item;
- longestDurationFound = item.Duration;
- }
- }
- return returnTitle;
- }
-
- /// <summary>
/// Set's up the DataGridView on the Chapters tab (frmMain)
/// </summary>
/// <param name="dataChpt">