diff options
Diffstat (limited to 'win/CS/frmAbout.cs')
-rw-r--r-- | win/CS/frmAbout.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/win/CS/frmAbout.cs b/win/CS/frmAbout.cs index 70fc92250..05a2765c2 100644 --- a/win/CS/frmAbout.cs +++ b/win/CS/frmAbout.cs @@ -8,11 +8,17 @@ namespace Handbrake using System;
using System.Windows.Forms;
+ using HandBrake.ApplicationServices;
+ using HandBrake.ApplicationServices.Services;
+ using HandBrake.ApplicationServices.Services.Interfaces;
+
/// <summary>
/// The About Window
/// </summary>
public partial class frmAbout : Form
{
+ IUserSettingService userSettingService = new UserSettingService();
+
/// <summary>
/// Initializes a new instance of the <see cref="frmAbout"/> class.
/// </summary>
@@ -20,8 +26,8 @@ namespace Handbrake {
InitializeComponent();
- string nightly = Properties.Settings.Default.hb_version.Contains("svn") ? " (SVN / Nightly Build)" : string.Empty;
- lbl_GUIBuild.Text = Properties.Settings.Default.hb_version + " (" + Properties.Settings.Default.hb_build + ") " + nightly;
+ string nightly = userSettingService.GetUserSettingString(UserSettingConstants.HandBrakeVersion).Contains("svn") ? " (SVN / Nightly Build)" : string.Empty;
+ lbl_GUIBuild.Text = userSettingService.GetUserSettingString(UserSettingConstants.HandBrakeVersion) + " (" + userSettingService.GetUserSettingString(UserSettingConstants.HandBrakeBuild) + ") " + nightly;
}
/// <summary>
|