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
d3803618
Commit
d3803618
authored
Oct 22, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Playlist code: simplification, part 1
parent
99ab417d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
modules/gui/qt4/components/playlist/playlist.cpp
modules/gui/qt4/components/playlist/playlist.cpp
+2
-10
No files found.
modules/gui/qt4/components/playlist/playlist.cpp
View file @
d3803618
...
...
@@ -45,20 +45,13 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
{
setContentsMargins
(
3
,
3
,
3
,
3
);
/*
Left Part and design
*/
/*
We use a QSplitter for the left part
*/
leftSplitter
=
new
QSplitter
(
Qt
::
Vertical
,
this
);
/* Source Selector */
selector
=
new
PLSelector
(
this
,
p_intf
);
QVBoxLayout
*
selBox
=
new
QVBoxLayout
();
selBox
->
setContentsMargins
(
0
,
0
,
0
,
0
);
selBox
->
setSpacing
(
0
);
selBox
->
addWidget
(
selector
);
QWidget
*
mediaBrowser
=
new
QWidget
();
mediaBrowser
->
setLayout
(
selBox
);
leftSplitter
->
addWidget
(
mediaBrowser
);
leftSplitter
->
addWidget
(
selector
);
/* Create a Container for the Art Label
in order to have a beautiful resizing for the selector above it */
...
...
@@ -83,7 +76,6 @@ PlaylistWidget::PlaylistWidget( intf_thread_t *_p_i, QWidget *_par )
playlist_t
*
p_playlist
=
THEPL
;
PL_LOCK
;
playlist_item_t
*
p_root
=
THEPL
->
p_playing
;
PL_UNLOCK
;
rightPanel
=
new
StandardPLPanel
(
this
,
p_intf
,
THEPL
,
p_root
,
selector
);
...
...
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