From 7f7055ee54f9dfb0cdad5c73841452fd8491f51e Mon Sep 17 00:00:00 2001 From: sr55 Date: Fri, 20 Jul 2012 17:06:08 +0000 Subject: 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 --- .../HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs') diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs index 7e1c0bf41..4b5071984 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/QueryGeneratorUtility.cs @@ -15,7 +15,8 @@ namespace HandBrake.ApplicationServices.Utilities using System.Globalization; using System.IO; - using HandBrake.ApplicationServices.Functions; + using Caliburn.Micro; + using HandBrake.ApplicationServices.Model; using HandBrake.ApplicationServices.Model.Encoding; using HandBrake.ApplicationServices.Services.Interfaces; @@ -30,7 +31,7 @@ namespace HandBrake.ApplicationServices.Utilities /// /// Backing field for the user settings service. /// - private static readonly IUserSettingService UserSettingService = ServiceManager.UserSettingService; + private static readonly IUserSettingService UserSettingService = IoC.Get(); /// /// Generate a CLI Query for an EncodeTask Model object -- cgit v1.2.3