Skip to content
Snippets Groups Projects
Commit 9259e320 authored by David's avatar David
Browse files

macosx: Clean up potentially old update URL

parent 08f8b501
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,11 @@ static const int kCurrentPreferencesVersion = 4;
NSUserDefaults * defaults = [NSUserDefaults standardUserDefaults];
NSInteger version = [defaults integerForKey:kVLCPreferencesVersion];
// This was set in user defaults in VLC 2.0.x (preferences version 2), overriding any
// value in the Info.plist. Make sure to delete it here, always,
// as it could be set if an old version of VLC is launched again.
[defaults removeObjectForKey:@"SUFeedURL"];
/*
* Store version explicitely in file, for ease of debugging.
* Otherwise, the value will be just defined at app startup,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment