[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/multimedia/amarok/src/playlistmanager/sql
From:       Bart Cerneels <bart.cerneels () kde ! org>
Date:       2009-07-13 21:00:58
Message-ID: 1247518858.422788.21166.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 996115 by shanachie:

Save trunk for almost certain breakage.

 M  +1 -1      SqlUserPlaylistProvider.cpp  


--- trunk/extragear/multimedia/amarok/src/playlistmanager/sql/SqlUserPlaylistProvider.cpp #996114:996115
@@ -167,7 +167,7 @@
     }
     //Add the playlist/track combination to a QMultiMap that is stored in the action.
     //In the slot we use this data and use it to remove that track.
-    PlaylistTrackMap playlistMap = m_removeTrackAction->data();
+    PlaylistTrackMap playlistMap = m_removeTrackAction->data().value<PlaylistTrackMap>();
     playlistMap.insert( playlist, playlist->tracks()[trackIndex] );
     m_removeTrackAction->setData( QVariant::fromValue( playlistMap ) );
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic