Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
7510dd1f
Commit
7510dd1f
authored
Jul 18, 2015
by
Felix Paul Kühne
Browse files
macosx/simple prefs: drop explicit singleton
parent
41ed8b15
Changes
2
Show whitespace changes
Inline
Side-by-side
modules/gui/macosx/simple_prefs.h
View file @
7510dd1f
...
...
@@ -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
;
...
...
modules/gui/macosx/simple_prefs.m
View file @
7510dd1f
...
...
@@ -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
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment