Commit 7510dd1f authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx/simple prefs: drop explicit singleton

parent 41ed8b15
......@@ -27,8 +27,6 @@
@interface VLCSimplePrefs : NSObject
+ (VLCSimplePrefs *)sharedInstance;
@property (readwrite, weak) IBOutlet NSPopUpButton *audio_dolbyPopup;
@property (readwrite, weak) IBOutlet NSTextField *audio_dolbyLabel;
@property (readwrite, weak) IBOutlet NSBox *audio_effectsBox;
......
......@@ -204,18 +204,6 @@ static NSString* VLCHotkeysSettingToolbarIdentifier = @"Hotkeys Settings Item Id
#pragma mark Initialisation
+ (VLCSimplePrefs *)sharedInstance
{
static VLCSimplePrefs *sharedInstance = nil;
static dispatch_once_t pred;
dispatch_once(&pred, ^{
sharedInstance = [VLCSimplePrefs new];
});
return sharedInstance;
}
- (id)init
{
self = [super init];
......
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