diff options
author | sr55 <[email protected]> | 2012-10-10 20:22:46 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2012-10-10 20:22:46 +0000 |
commit | 60f0a6693164d25b21676711835abe8f0e0d40c3 (patch) | |
tree | 2b5117f94ac9144fe73d28009667dd6a0ba9d692 /win/CS/HandBrakeWPF/Helpers | |
parent | 3bf7a95521abb4d943c978c68f57b30ee197ff43 (diff) |
WinGui: Settings tidyup
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5013 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrakeWPF/Helpers')
-rw-r--r-- | win/CS/HandBrakeWPF/Helpers/CliCheckHelper.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/win/CS/HandBrakeWPF/Helpers/CliCheckHelper.cs b/win/CS/HandBrakeWPF/Helpers/CliCheckHelper.cs index da349c417..ee0df3b88 100644 --- a/win/CS/HandBrakeWPF/Helpers/CliCheckHelper.cs +++ b/win/CS/HandBrakeWPF/Helpers/CliCheckHelper.cs @@ -51,7 +51,7 @@ namespace HandBrakeWPF.Helpers string base64Hash = Convert.ToBase64String(hash);
// Compare the hash with the last known hash. If it's the same, return.
- if (userSettingService.GetUserSetting<string>(ASUserSettingConstants.HandBrakeExeHash) == base64Hash)
+ if (userSettingService.GetUserSetting<string>(UserSettingConstants.HandBrakeExeHash) == base64Hash)
{
return;
}
@@ -94,7 +94,7 @@ namespace HandBrakeWPF.Helpers if (platform.Success)
{
userSettingService.SetUserSetting(
- ASUserSettingConstants.HandBrakePlatform, platform.Value.Replace("-", string.Empty).Trim());
+ UserSettingConstants.HandBrakePlatform, platform.Value.Replace("-", string.Empty).Trim());
}
}
@@ -112,15 +112,15 @@ namespace HandBrakeWPF.Helpers if (success)
{
- userSettingService.SetUserSetting(ASUserSettingConstants.HandBrakeExeHash, base64Hash);
+ userSettingService.SetUserSetting(UserSettingConstants.HandBrakeExeHash, base64Hash);
}
}
catch (Exception e)
{
userSettingService.SetUserSetting(ASUserSettingConstants.HandBrakeBuild, 0);
- 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);
errorService.ShowError(
"Unable to Initialise HandBrake. This error is unrecoverable.", " Try restarting.", e);
|