[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 147404] Radio Streams drag-and-drop severely broken
From: Seb Ruiz <ruiz () kde ! org>
Date: 2007-07-01 6:06:15
Message-ID: 20070701060615.30063.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=147404
------- Additional Comments From ruiz kde org 2007-07-01 08:06 -------
SVN commit 682001 by seb:
Copy streams from coolstreams category
CCBUG: 147404
M +12 -2 playlistbrowser.cpp
--- branches/stable/extragear/multimedia/amarok/src/playlistbrowser.cpp \
#682000:682001 @ -2844,8 +2844,18 @
base == PlaylistBrowser::instance()->m_smartCategory && isSmartPlaylist( \
item ) ||
base == PlaylistBrowser::instance()->m_dynamicCategory && isDynamic( \
item ) ) {
- itemParent->takeItem( item );
- newParent->insertItem( item );
+ // if the item is from the cool streams dir, copy it.
+ if( item->parent() == PlaylistBrowser::instance()->m_coolStreams )
+ {
+ #define item static_cast<StreamEntry*>(item)
+ StreamEntry *copiedStream = new StreamEntry( newParent, after, \
item->url(), item->title() ); + #undef item
+ }
+ else // otherwise, we move it
+ {
+ itemParent->takeItem( item );
+ newParent->insertItem( item );
+ }
newParent->sortChildItems( 0, true );
}
else if( base == PlaylistBrowser::instance()->m_podcastCategory && \
isPodcastChannel( item ) )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic