branches/stable/extragear/multimedia/amarok/src

Jeff Mitchell kde-dev at emailgoeshere.com
Mon Mar 26 19:28:35 UTC 2007


Mark--

I've confirmed that this fixes the bug.  Will close the bug report.

--Jeff

Quoting Mark Kretschmann <markey at web.de>:

> SVN commit 646541 by markey:
>
> Fix for crash when an item is moved to the top of the playlist in   
> dynamic mode.
>
> Could you guys test if this fixes the crash, and if it has any side effects?
>
> CCBUG: 141762
>
>
>  M  +1 -1      playlist.cpp
>
>
> --- branches/stable/extragear/multimedia/amarok/src/playlist.cpp   
> #646540:646541
> @@ -2419,7 +2419,7 @@
>      if ( e->source() == viewport() ) {
>          setSorting( NO_SORT ); //disableSorting and saveState()
>          movableDropEvent( parent, after );
> -        if( dynamicMode() && static_cast<PlaylistItem   
> *>(after)->isDynamicEnabled() )
> +        if( dynamicMode() && after && static_cast<PlaylistItem   
> *>(after)->isDynamicEnabled() )
>          {
>              QPtrList<QListViewItem> items = selectedItems();
>              QListViewItem *item;
>





More information about the Amarok mailing list