Commit 674e138b authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Set the pref version key if the ignore button was pressed.

So that the dialog won't pop up again.
parent f2e48db1
...@@ -2252,7 +2252,11 @@ end: ...@@ -2252,7 +2252,11 @@ end:
int res = NSRunInformationalAlertPanel(_NS("Remove old preferences?"), int res = NSRunInformationalAlertPanel(_NS("Remove old preferences?"),
_NS("We just found an older version of VLC's preferences files."), _NS("We just found an older version of VLC's preferences files."),
_NS("Move To Trash and Relaunch VLC"), _NS("Ignore"), nil, nil); _NS("Move To Trash and Relaunch VLC"), _NS("Ignore"), nil, nil);
if( res != NSOKButton ) return; if( res != NSOKButton )
{
[[NSUserDefaults standardUserDefaults] setInteger:kCurrentPreferencesVersion forKey:kVLCPreferencesVersion];
return;
}
NSArray * ourPreferences = [NSArray arrayWithObjects:@"org.videolan.vlc.plist", @"VLC"]; NSArray * ourPreferences = [NSArray arrayWithObjects:@"org.videolan.vlc.plist", @"VLC"];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment