From b1304a1169eb448aabb51aa26e29983fe1ad7258 Mon Sep 17 00:00:00 2001 From: Pierre-Eric Pelloux-Prayer Date: Fri, 30 Mar 2012 14:39:16 +0200 Subject: [PATCH] Load Advanced.plist default value --- Classes/LinphoneAppDelegate.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Classes/LinphoneAppDelegate.m b/Classes/LinphoneAppDelegate.m index 6e6653dbc..f8ae57a8e 100644 --- a/Classes/LinphoneAppDelegate.m +++ b/Classes/LinphoneAppDelegate.m @@ -136,10 +136,12 @@ int __aeabi_idiv(int a, int b) { NSMutableDictionary *rootSettings = [NSDictionary dictionaryWithContentsOfFile:[settingsBundle stringByAppendingPathComponent:@"Root.plist"]]; NSMutableDictionary *audioSettings = [NSDictionary dictionaryWithContentsOfFile:[settingsBundle stringByAppendingPathComponent:@"audio.plist"]]; NSMutableDictionary *videoSettings = [NSDictionary dictionaryWithContentsOfFile:[settingsBundle stringByAppendingPathComponent:@"video.plist"]]; + NSMutableDictionary *advancedSettings = [NSDictionary dictionaryWithContentsOfFile:[settingsBundle stringByAppendingPathComponent:@"Advanced.plist"]]; NSMutableArray *preferences = [rootSettings objectForKey:@"PreferenceSpecifiers"]; [preferences addObjectsFromArray:[audioSettings objectForKey:@"PreferenceSpecifiers"]]; [preferences addObjectsFromArray:[videoSettings objectForKey:@"PreferenceSpecifiers"]]; + [preferences addObjectsFromArray:[advancedSettings objectForKey:@"PreferenceSpecifiers"]]; NSMutableDictionary *defaultsToRegister = [[NSMutableDictionary alloc] initWithCapacity:[preferences count]];