Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
0dc09ccb
Commit
0dc09ccb
authored
Nov 11, 2014
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: playlist: remove unused _other outlets
parent
5e59835d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
25 deletions
+0
-25
modules/gui/macosx/playlist.h
modules/gui/macosx/playlist.h
+0
-5
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+0
-20
No files found.
modules/gui/macosx/playlist.h
View file @
0dc09ccb
...
...
@@ -52,11 +52,6 @@
{
IBOutlet
VLCPlaylistView
*
o_outline_view
;
IBOutlet
id
o_tc_name_other
;
IBOutlet
id
o_tc_author_other
;
IBOutlet
id
o_tc_duration_other
;
IBOutlet
VLCPlaylistView
*
o_outline_view_other
;
NSMutableDictionary
*
o_outline_dict
;
}
...
...
modules/gui/macosx/playlist.m
View file @
0dc09ccb
...
...
@@ -159,15 +159,6 @@
[
o_outline_view
setAllowsEmptySelection
:
NO
];
[
o_outline_view
expandItem
:
[
o_outline_view
itemAtRow
:
0
]];
[
o_outline_view_other
setTarget
:
self
];
[
o_outline_view_other
setDelegate
:
self
];
[
o_outline_view_other
setDataSource
:
self
];
[
o_outline_view_other
setAllowsEmptySelection
:
NO
];
[[
o_tc_name_other
headerCell
]
setStringValue
:
_NS
(
"Name"
)];
[[
o_tc_author_other
headerCell
]
setStringValue
:
_NS
(
"Author"
)];
[[
o_tc_duration_other
headerCell
]
setStringValue
:
_NS
(
"Duration"
)];
[
self
reloadStyles
];
}
...
...
@@ -175,7 +166,6 @@
{
p_current_root_item
=
root_item
;
[
o_outline_view
reloadData
];
[
o_outline_view_other
reloadData
];
}
-
(
playlist_item_t
*
)
currentPlaylistRoot
...
...
@@ -211,12 +201,6 @@
for
(
NSUInteger
x
=
0
;
x
<
count
;
x
++
)
[[[
columns
objectAtIndex
:
x
]
dataCell
]
setFont
:
fontToUse
];
[
o_outline_view
setRowHeight
:
rowHeight
];
columns
=
[
o_outline_view_other
tableColumns
];
count
=
columns
.
count
;
for
(
NSUInteger
x
=
0
;
x
<
count
;
x
++
)
[[[
columns
objectAtIndex
:
x
]
dataCell
]
setFont
:
fontToUse
];
[
o_outline_view_other
setRowHeight
:
rowHeight
];
}
-
(
void
)
dealloc
{
...
...
@@ -525,14 +509,10 @@
[
self
initStrings
];
[
o_outline_view
setDoubleAction
:
@selector
(
playItem
:)];
[
o_outline_view_other
setDoubleAction
:
@selector
(
playItem
:)];
[
o_outline_view
registerForDraggedTypes
:
[
NSArray
arrayWithObjects
:
NSFilenamesPboardType
,
@"VLCPlaylistItemPboardType"
,
nil
]];
[
o_outline_view
setIntercellSpacing
:
NSMakeSize
(
0
.
0
,
1
.
0
)];
[
o_outline_view_other
registerForDraggedTypes
:
[
NSArray
arrayWithObjects
:
NSFilenamesPboardType
,
@"VLCPlaylistItemPboardType"
,
nil
]];
[
o_outline_view_other
setIntercellSpacing
:
NSMakeSize
(
0
.
0
,
1
.
0
)];
/* This uses a private API, but works fine on all current OSX releases.
* Radar ID 11739459 request a public API for this. However, it is probably
* easier and faster to recreate similar looking bitmaps ourselves. */
...
...
Write
Preview
Markdown
is supported
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