diff options
Diffstat (limited to 'win/CS/Program.cs')
-rw-r--r-- | win/CS/Program.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win/CS/Program.cs b/win/CS/Program.cs index 406d8d0bb..847c70bd6 100644 --- a/win/CS/Program.cs +++ b/win/CS/Program.cs @@ -13,6 +13,7 @@ namespace Handbrake using HandBrake.ApplicationServices;
using HandBrake.ApplicationServices.Exceptions;
using HandBrake.ApplicationServices.Services;
+ using HandBrake.ApplicationServices.Services.Interfaces;
using Handbrake.Properties;
using Handbrake.ToolWindows;
@@ -66,7 +67,7 @@ namespace Handbrake // So I'm going to only allow this for users using svn builds.
// Going from major to major will require the user to reset.
// Going from svn to svn will attempt the upgrade.
- UserSettingService service = new UserSettingService();
+ IUserSettingService service = ServiceManager.UserSettingService;
string version = service.GetUserSetting<string>(UserSettingConstants.HandBrakeVersion);
if (version.Contains("svn"))
{
|