From kde-commits Mon Aug 31 21:49:40 2009 From: Seb Ruiz Date: Mon, 31 Aug 2009 21:49:40 +0000 To: kde-commits Subject: Re: [Amarok] Prevent to many updates. Message-Id: <60ebdd0b0908311449i66bac8efs5e27e52a23086744 () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kde-commits&m=125175544425163 2009/9/1 Bart Cerneels : > commit 4ae73b25f975b13c1830a94d111803166b234ac4 > Author:     Bart Cerneels > AuthorDate: Mon Aug 31 19:18:59 2009 +0200 > Commit:     Bart Cerneels > CommitDate: Mon Aug 31 20:11:42 2009 +0200 > >    Prevent to many updates. > > diff --git a/src/playlistmanager/sql/SqlUserPlaylistProvider.cpp b/src/playlistmanager/sql/SqlUserPlaylistProvider.cpp > index a1617e8..6bec593 100644 > --- a/src/playlistmanager/sql/SqlUserPlaylistProvider.cpp > +++ b/src/playlistmanager/sql/SqlUserPlaylistProvider.cpp > @@ -100,10 +100,7 @@ SqlUserPlaylistProvider::slotRename() >                 i18n("Enter new name for playlist:"), playlist->name(), >                                                    &ok ); >     if ( ok ) > -    { > -        playlist->setName( newName.trimmed() ); > -        emit( updated() ); > -    } > +        playlist->setName( newName.trimmed() );\ >  } Stray char here. -- Seb Ruiz http://www.sebruiz.net/ http://amarok.kde.org/