Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
9cc4fe4d
Commit
9cc4fe4d
authored
Oct 28, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PLModel: formatting fixes
parent
465f5a01
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
29 deletions
+24
-29
modules/gui/qt4/components/playlist/playlist_model.cpp
modules/gui/qt4/components/playlist/playlist_model.cpp
+24
-29
No files found.
modules/gui/qt4/components/playlist/playlist_model.cpp
View file @
9cc4fe4d
...
...
@@ -34,7 +34,7 @@
#include "dialogs/mediainfo.hpp"
/* MediaInfo Dialog */
#include "dialogs/playlist.hpp"
/* Playlist Dialog */
#include <vlc_intf_strings.h>
#include <vlc_intf_strings.h>
/* I_DIR */
#include "pixmaps/types/type_unknown.xpm"
#include "sorting.h"
...
...
@@ -516,9 +516,7 @@ QStringList PLModel::selectedURIs()
return
lst
;
}
/************************* Lookups *****************************/
PLItem
*
PLModel
::
findById
(
PLItem
*
root
,
int
i_id
)
const
{
return
findInner
(
root
,
i_id
,
false
);
...
...
@@ -594,10 +592,8 @@ bool PLModel::canEdit() const
rootItem
!=
NULL
&&
(
rootItem
->
p_input
==
p_playlist
->
p_playing
->
p_input
||
(
p_playlist
->
p_media_library
&&
rootItem
->
p_input
==
p_playlist
->
p_media_library
->
p_input
)
(
p_playlist
->
p_media_library
&&
rootItem
->
p_input
==
p_playlist
->
p_media_library
->
p_input
)
)
);
}
...
...
@@ -663,7 +659,6 @@ void PLModel::processItemAppend( int i_item, int i_parent )
emit
currentChanged
(
index
(
newItem
,
0
)
);
}
void
PLModel
::
rebuild
()
{
rebuild
(
NULL
);
...
...
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