[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:58 CET 2012


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

macosx: fixed playlist re-ordering through drag & drop (close #6045)
(cherry picked from commit f04179bd86aded5ee5b46a30b912aa3da894312c)

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

 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