summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/PresetLoader.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-06-26 23:50:24 +0000
committersr55 <[email protected]>2009-06-26 23:50:24 +0000
commitedc5c3c50bbaf09eb2511f217a1228d901d54b55 (patch)
tree49c05ce249b69fc4912c19162759a34051c483c5 /win/C#/Functions/PresetLoader.cs
parent4ac9a883b86e9d83a15a23f32090a2339ac1606a (diff)
WinGui:
- Temporary Fix for Quality slider getting reset to 0 on title or encoder change. Changing encoders may still cause a problem. - Much smaller splash screen. (Just in case any popup errors decide to hide behind it on launch) - Toolstrip now uses "Professional" appearance mode. On most systems it'll stand out more. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2633 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/Functions/PresetLoader.cs')
-rw-r--r--win/C#/Functions/PresetLoader.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/win/C#/Functions/PresetLoader.cs b/win/C#/Functions/PresetLoader.cs
index bcc4b1b26..b34fff85d 100644
--- a/win/C#/Functions/PresetLoader.cs
+++ b/win/C#/Functions/PresetLoader.cs
@@ -161,12 +161,8 @@ namespace Handbrake.Functions
int value;
System.Globalization.CultureInfo culture = System.Globalization.CultureInfo.CreateSpecificCulture("en-US");
- double x264step;
+ double x264step = Properties.Settings.Default.x264cqstep;
double presetValue = presetQuery.VideoQuality;
- double.TryParse(Properties.Settings.Default.x264cqstep,
- System.Globalization.NumberStyles.Number,
- culture,
- out x264step);
double x = 51 / x264step;