diff options
author | sr55 <[email protected]> | 2014-11-27 20:32:56 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2014-11-27 20:32:56 +0000 |
commit | b8238f76de25707da2d9e480d265c94d3d7d1ada (patch) | |
tree | 107e673ad844ee1f8e17f0051ce2d497cab59c59 /win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs | |
parent | af863ce977955be294b337c59adf1b676a345b5a (diff) |
WinGui: Remove the option to enable the static preview window. Window is now always available.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6560 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs index 85e74ed20..bb303aef5 100644 --- a/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs @@ -281,11 +281,6 @@ namespace HandBrakeWPF.ViewModels private bool showAdvancedTab;
/// <summary>
- /// The enable static preview.
- /// </summary>
- private bool enableStaticPreview;
-
- /// <summary>
/// The remove punctuation.
/// </summary>
private bool removePunctuation;
@@ -1134,22 +1129,6 @@ namespace HandBrakeWPF.ViewModels }
}
- /// <summary>
- /// Gets or sets a value indicating whether enable static preview.
- /// </summary>
- public bool EnableStaticPreview
- {
- get
- {
- return this.enableStaticPreview;
- }
- set
- {
- this.enableStaticPreview = value;
- this.NotifyOfPropertyChange(() => this.EnableStaticPreview);
- }
- }
-
#endregion
#region Video
@@ -1591,9 +1570,7 @@ namespace HandBrakeWPF.ViewModels this.MinLength = this.userSettingService.GetUserSetting<int>(UserSettingConstants.MinScanDuration);
// Use dvdnav
- this.DisableLibdvdNav = userSettingService.GetUserSetting<bool>(UserSettingConstants.DisableLibDvdNav);
-
- this.EnableStaticPreview = userSettingService.GetUserSetting<bool>(UserSettingConstants.EnableStaticPreview);
+ this.DisableLibdvdNav = userSettingService.GetUserSetting<bool>(UserSettingConstants.DisableLibDvdNav);
int port;
int.TryParse(userSettingService.GetUserSetting<string>(UserSettingConstants.ServerPort), out port);
@@ -1652,7 +1629,6 @@ namespace HandBrakeWPF.ViewModels userSettingService.SetUserSetting(UserSettingConstants.PreviewScanCount, this.SelectedPreviewCount);
userSettingService.SetUserSetting(UserSettingConstants.X264Step, double.Parse(this.SelectedGranulairty, CultureInfo.InvariantCulture));
userSettingService.SetUserSetting(UserSettingConstants.ShowAdvancedTab, this.ShowAdvancedTab);
- userSettingService.SetUserSetting(UserSettingConstants.EnableStaticPreview, this.EnableStaticPreview);
int value;
if (int.TryParse(this.MinLength.ToString(CultureInfo.InvariantCulture), out value))
|