summaryrefslogtreecommitdiffstats
path: root/gtk/src/presets.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-02-27 17:09:44 +0000
committerjstebbins <[email protected]>2014-02-27 17:09:44 +0000
commit525c8a11b4930ff40a94897fc65ebea2fac7126f (patch)
tree15985895635db4747370c648d09c40f0e0404848 /gtk/src/presets.c
parent71ccdc5d87feb446d064b6c74b1db296bf990b94 (diff)
LinGui: remove legacy preset key UsesMaxPictureSettings
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6087 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/presets.c')
-rw-r--r--gtk/src/presets.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/src/presets.c b/gtk/src/presets.c
index 2862721b1..6699392a3 100644
--- a/gtk/src/presets.c
+++ b/gtk/src/presets.c
@@ -2592,16 +2592,14 @@ import_xlat_preset(GValue *user_preset)
ghb_settings_set_value(dict, "scale_width",
ghb_settings_get_value(dict, "PictureWidth"));
- gboolean uses_max;
gint uses_pic;
gint vqtype;
- uses_max = ghb_settings_get_boolean(dict, "UsesMaxPictureSettings");
uses_pic = ghb_settings_get_int(dict, "UsesPictureSettings");
vqtype = ghb_settings_get_int(dict, "VideoQualityType");
// "Use max" or "strict anamorphic" imply autoscale
- if (uses_max || uses_pic == 2)
+ if (uses_pic == 2)
{
ghb_settings_set_boolean(dict, "autoscale", TRUE);
}