From 60f0a6693164d25b21676711835abe8f0e0d40c3 Mon Sep 17 00:00:00 2001 From: sr55 Date: Wed, 10 Oct 2012 20:22:46 +0000 Subject: WinGui: Settings tidyup git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5013 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/CS/HandBrakeWPF/Services/UpdateVersionService.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'win/CS/HandBrakeWPF/Services/UpdateVersionService.cs') diff --git a/win/CS/HandBrakeWPF/Services/UpdateVersionService.cs b/win/CS/HandBrakeWPF/Services/UpdateVersionService.cs index 0472f9da2..e0de1d88a 100644 --- a/win/CS/HandBrakeWPF/Services/UpdateVersionService.cs +++ b/win/CS/HandBrakeWPF/Services/UpdateVersionService.cs @@ -72,7 +72,7 @@ namespace HandBrakeWPF.Services string base64Hash = Convert.ToBase64String(hash); // Compare the hash with the last known hash. If it's the same, return. - if (userSettingService.GetUserSetting(ASUserSettingConstants.HandBrakeExeHash) == base64Hash) + if (userSettingService.GetUserSetting(UserSettingConstants.HandBrakeExeHash) == base64Hash) { return; } @@ -115,7 +115,7 @@ namespace HandBrakeWPF.Services if (platform.Success) { - userSettingService.SetUserSetting(ASUserSettingConstants.HandBrakePlatform, platform.Value.Replace("-", string.Empty).Trim()); + userSettingService.SetUserSetting(UserSettingConstants.HandBrakePlatform, platform.Value.Replace("-", string.Empty).Trim()); } if (cliProcess.TotalProcessorTime.Seconds > 10) // Don't wait longer than 10 seconds. @@ -128,14 +128,14 @@ namespace HandBrakeWPF.Services } } - userSettingService.SetUserSetting(ASUserSettingConstants.HandBrakeExeHash, base64Hash); + userSettingService.SetUserSetting(UserSettingConstants.HandBrakeExeHash, base64Hash); } catch (Exception e) { userSettingService.SetUserSetting(ASUserSettingConstants.HandBrakeBuild, string.Empty); - userSettingService.SetUserSetting(ASUserSettingConstants.HandBrakePlatform, string.Empty); + userSettingService.SetUserSetting(UserSettingConstants.HandBrakePlatform, string.Empty); userSettingService.SetUserSetting(ASUserSettingConstants.HandBrakeVersion, string.Empty); - userSettingService.SetUserSetting(ASUserSettingConstants.HandBrakeExeHash, string.Empty); + userSettingService.SetUserSetting(UserSettingConstants.HandBrakeExeHash, string.Empty); this.errorService.ShowError("Unable to Initialise HandBrake", "This error is unrecoverable. Maybe try restarting.", e); -- cgit v1.2.3