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
dfd24ab6
Commit
dfd24ab6
authored
Oct 15, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
D&D fixes
parent
6a2febe5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
modules/gui/qt4/components/playlist/selector.cpp
modules/gui/qt4/components/playlist/selector.cpp
+0
-1
src/playlist/item.c
src/playlist/item.c
+8
-2
No files found.
modules/gui/qt4/components/playlist/selector.cpp
View file @
dfd24ab6
...
...
@@ -38,7 +38,6 @@ PLSelector::PLSelector( QWidget *p, intf_thread_t *_p_intf,
view
->
header
()
->
hide
();
view
->
setModel
(
model
);
view
->
setDragEnabled
(
true
);
view
->
setAcceptDrops
(
true
);
view
->
setDropIndicatorShown
(
true
);
...
...
src/playlist/item.c
View file @
dfd24ab6
...
...
@@ -498,6 +498,10 @@ int playlist_TreeMove( playlist_t * p_playlist, playlist_item_t *p_item,
{
/* Fixme: avoid useless lookups but we need some clean helpers */
{
/* Fixme: if we try to move a node on a top-level node, it will
* fail because the node doesn't exist in onelevel and we will
* do some shit in onelevel. We should recursively move all items
* within the node */
playlist_item_t
*
p_node_onelevel
;
playlist_item_t
*
p_item_onelevel
;
p_node_onelevel
=
playlist_ItemFindFromInputAndRoot
(
p_playlist
,
...
...
@@ -508,7 +512,8 @@ int playlist_TreeMove( playlist_t * p_playlist, playlist_item_t *p_item,
p_item
->
p_input
->
i_id
,
p_playlist
->
p_root_onelevel
,
VLC_FALSE
);
TreeMove
(
p_playlist
,
p_item_onelevel
,
p_node_onelevel
,
0
);
if
(
p_node_onelevel
&&
p_item_onelevel
)
TreeMove
(
p_playlist
,
p_item_onelevel
,
p_node_onelevel
,
0
);
}
{
playlist_item_t
*
p_node_category
;
...
...
@@ -521,7 +526,8 @@ int playlist_TreeMove( playlist_t * p_playlist, playlist_item_t *p_item,
p_item
->
p_input
->
i_id
,
p_playlist
->
p_root_category
,
VLC_FALSE
);
TreeMove
(
p_playlist
,
p_item_category
,
p_node_category
,
0
);
if
(
p_node_category
&&
p_item_category
)
TreeMove
(
p_playlist
,
p_item_category
,
p_node_category
,
0
);
}
return
VLC_SUCCESS
;
}
...
...
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