summaryrefslogtreecommitdiffstats
path: root/win/CS/Controls/x264Panel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/Controls/x264Panel.cs')
-rw-r--r--win/CS/Controls/x264Panel.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/win/CS/Controls/x264Panel.cs b/win/CS/Controls/x264Panel.cs
index 829e1cf5c..c7625d720 100644
--- a/win/CS/Controls/x264Panel.cs
+++ b/win/CS/Controls/x264Panel.cs
@@ -9,6 +9,9 @@ namespace Handbrake.Controls
using System.Globalization;
using System.Windows.Forms;
+ using HandBrake.ApplicationServices;
+ using HandBrake.ApplicationServices.Services.Interfaces;
+
/// <summary>
/// The x264 Panel
/// </summary>
@@ -19,6 +22,11 @@ namespace Handbrake.Controls
* at some point.
*/
+ /// <summary>
+ /// The User Setting Service.
+ /// </summary>
+ private readonly IUserSettingService UserSettingService = ServiceManager.UserSettingService;
+
private CultureInfo culture = CultureInfo.CreateSpecificCulture("en-US");
/// <summary>
@@ -29,7 +37,7 @@ namespace Handbrake.Controls
{
InitializeComponent();
- if (Properties.Settings.Default.tooltipEnable)
+ if (this.UserSettingService.GetUserSetting<bool>(UserSettingConstants.TooltipEnable))
ToolTip.Active = true;
Reset2Defaults();