diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/OptionsViewModel.cs | 26 | ||||
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs | 11 |
2 files changed, 1 insertions, 36 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))
diff --git a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs index cc6421d28..d1ca9e65a 100644 --- a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs @@ -324,17 +324,6 @@ namespace HandBrakeWPF.ViewModels }
}
- /// <summary>
- /// Gets a value indicating whether is picture preview enabled.
- /// </summary>
- public bool IsPicturePreviewEnabled
- {
- get
- {
- return this.UserSettingService.GetUserSetting<bool>(UserSettingConstants.EnableStaticPreview);
- }
- }
-
#endregion
#region Task Properties
|