summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2012-07-20 17:06:08 +0000
committersr55 <[email protected]>2012-07-20 17:06:08 +0000
commit7f7055ee54f9dfb0cdad5c73841452fd8491f51e (patch)
tree88bb4b64e1a2ef82b11bbb8c2a89d41aaabac30e /win/CS/HandBrake.ApplicationServices/Services/PresetService.cs
parent1aadfe267e451acfbc900590a53cd9df87fe50ff (diff)
WinGui: Move some stuff around in the services library and refactor out some legacy code.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4868 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/PresetService.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/PresetService.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs b/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs
index 8337ddd56..2ddd775aa 100644
--- a/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs
+++ b/win/CS/HandBrake.ApplicationServices/Services/PresetService.cs
@@ -19,6 +19,8 @@ namespace HandBrake.ApplicationServices.Services
using System.Text.RegularExpressions;
using System.Xml.Serialization;
+ using Caliburn.Micro;
+
using HandBrake.ApplicationServices.Exceptions;
using HandBrake.ApplicationServices.Model;
using HandBrake.ApplicationServices.Services.Interfaces;
@@ -67,7 +69,7 @@ namespace HandBrake.ApplicationServices.Services
/// <summary>
/// The User Setting Service
/// </summary>
- private IUserSettingService userSettingService = ServiceManager.UserSettingService;
+ private IUserSettingService userSettingService = IoC.Get<IUserSettingService>();
#endregion