Commit c58129b7 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Make sure preferences version is saved.

parent 674e138b
...@@ -2267,6 +2267,7 @@ end: ...@@ -2267,6 +2267,7 @@ end:
[NSUserDefaults resetStandardUserDefaults]; [NSUserDefaults resetStandardUserDefaults];
[[NSUserDefaults standardUserDefaults] setInteger:kCurrentPreferencesVersion forKey:kVLCPreferencesVersion]; [[NSUserDefaults standardUserDefaults] setInteger:kCurrentPreferencesVersion forKey:kVLCPreferencesVersion];
[[NSUserDefaults standardUserDefaults] synchronize];
/* Relaunch now */ /* Relaunch now */
[[NSWorkspace sharedWorkspace] launchApplication:[[NSBundle mainBundle] bundlePath]]; [[NSWorkspace sharedWorkspace] launchApplication:[[NSBundle mainBundle] bundlePath]];
......
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