more consistent whitespaces

This commit is contained in:
Przemysław Dąbek 2012-11-21 18:46:42 +01:00
parent 92637cb7d1
commit a241774fb5
1 changed files with 4 additions and 4 deletions

View File

@ -1923,7 +1923,7 @@ void Playlist::RemoveDuplicateSongs() {
QList<int> rows_to_remove;
QHash<Song, int> unique_songs;
for(int row = 0; row < items_.count(); ++row) {
for (int row = 0; row < items_.count(); ++row) {
PlaylistItemPtr item = items_[row];
Song song = item->Metadata();
@ -1934,8 +1934,8 @@ void Playlist::RemoveDuplicateSongs() {
iterator.next();
Song uniq_song = iterator.key();
if(song.IsDuplicate(uniq_song)){
if(song.bitrate() > uniq_song.bitrate()) {
if (song.IsDuplicate(uniq_song)) {
if (song.bitrate() > uniq_song.bitrate()) {
rows_to_remove.append(unique_songs[uniq_song]);
unique_songs.remove(uniq_song);
unique_songs.insert(song, row);
@ -1947,7 +1947,7 @@ void Playlist::RemoveDuplicateSongs() {
}
}
if(!found_duplicate)
if (!found_duplicate)
unique_songs.insert(song, row);
}