summaryrefslogtreecommitdiffstats
path: root/macosx/HBPicture.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-10-13 10:22:02 +0200
committerDamiano Galassi <[email protected]>2015-10-13 10:22:02 +0200
commit14839ed2b8a7e4615b2c30fe8a46bb63819d0b40 (patch)
treef8684e1d7eb41fa1df0c420da50cd4f53f692e64 /macosx/HBPicture.m
parentb8bcf81a60e505135cab3f6deeb090989012ba5e (diff)
MacGui: remove some HBPreset -> NSDictionary conversions and add a mutable version of HBPreset.
Diffstat (limited to 'macosx/HBPicture.m')
-rw-r--r--macosx/HBPicture.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBPicture.m b/macosx/HBPicture.m
index 099a4c77a..b68c74f78 100644
--- a/macosx/HBPicture.m
+++ b/macosx/HBPicture.m
@@ -566,7 +566,7 @@ NSString * const HBPictureChangedNotification = @"HBPictureChangedNotification";
#pragma mark - Presets
-- (void)writeToPreset:(NSMutableDictionary *)preset
+- (void)writeToPreset:(HBMutablePreset *)preset
{
preset[@"PictureKeepRatio"] = @(self.keepDisplayAspect);
@@ -599,7 +599,7 @@ NSString * const HBPictureChangedNotification = @"HBPictureChangedNotification";
preset[@"PictureRightCrop"] = @(self.cropRight);
}
-- (void)applyPreset:(NSDictionary *)preset
+- (void)applyPreset:(HBPreset *)preset
{
self.validating = YES;
self.notificationsEnabled = NO;