[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeextragear-1/amarok/src
From: Seb Ruiz <seb100 () optusnet ! com ! au>
Date: 2005-05-01 5:43:18
Message-ID: 20050501054318.35087635 () office ! kde ! org
[Download RAW message or body]
CVS commit by seb:
* Custom smartplaylists were duplicated in party mode config
BUG:104593
M +6 -1 party.cpp 1.14
--- kdeextragear-1/amarok/src/party.cpp #1.13:1.14
@@ -129,5 +129,10 @@ void Party::insertAvailablePlaylists()
{
if( line.startsWith( "Name=" ) )
- m_lbAvailable->insertItem( line.mid( 5 ) );
+ {
+ QString title = line.mid( 5 );
+ if ( m_lbSelected->findItem( title ) )
+ continue;
+ m_lbAvailable->insertItem( title );
+ }
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic