[vlc-commits] macosx: fixed playlist re-ordering through drag & drop (close #6045)

Felix Paul Kühne git at videolan.org
Fri Feb 17 00:13:04 CET 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Feb 17 00:12:58 2012 +0100| [f04179bd86aded5ee5b46a30b912aa3da894312c] | committer: Felix Paul Kühne

macosx: fixed playlist re-ordering through drag & drop (close #6045)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f04179bd86aded5ee5b46a30b912aa3da894312c
---

 modules/gui/macosx/playlist.m |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index ce217e7..1d12022 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -1500,12 +1500,6 @@
         }
     }
 
-    /* Don't allow on drop on playlist root element's child */
-    if( !item && index != NSOutlineViewDropOnItemIndex)
-    {
-        return NSDragOperationNone;
-    }
-
     /* We refuse to drop an item in anything else than a child of the General
        Node. We still accept items that would be root nodes of the outlineview
        however, to allow drop in an empty playlist. */



More information about the vlc-commits mailing list