<div class="gmail_quote">2009/8/1 Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net">remi@remlab.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Le vendredi 31 juillet 2009 11:19:14 Jakob Leben, vous avez écrit :<br>
<div><div></div><div class="h5">> Disabling Qt::ItemIsDropEnabled for items which are not containers or nodes<br>
> makes the use of playlist smoother.<br>
><br>
> Condition for this patch is my previously submitted patch "Qt4 Playlist<br>
> fix: when moving items keep their original order" because previously to<br>
> that patch, moving operations within qt4 playlist are carried out only if<br>
> dropping onto items (not between them).<br>
<br>
</div></div>I'm not sure if we want this - won't it make item insertion arbitrarily<br>
difficult? But most importantly, since I cannot apply it I cannot test it<br>
either.<br>
<br>
error: patch failed:<br>
modules/gui/qt4/components/playlist/playlist_model.cpp:116<br>
error: modules/gui/qt4/components/playlist/playlist_model.cpp: patch does not<br>
apply<br>
Patch failed at 0001 Qt4 playlist: disable dropping onto items which are not<br>
containers (nodes)<br>
<font color="#888888"><br></font></blockquote></div><br>This patch actually makes moving elements easier, because instead of having three distinct areas for mouse pointer over an item, you have only two. Before the three areas were like this - from top to bottom: drop at item index  // drop into item (which was before interpreted as drop at item item // drop at item index + 1. But with this patch the middle area is not tracked, so every item is split only into two areas plus dropping on upper area at index i has the same effect as dropping on bottom area at index i-1.<br>
<br>Attached is again the same patch and it should git-apply. Try out please.<br>