mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-18 20:34:39 +01:00
Formatting
This commit is contained in:
parent
c890af6306
commit
ce8b7303c0
@ -1818,8 +1818,7 @@ void Playlist::StopAfter(int row) {
|
|||||||
SLOT(SongInsertVetoListenerDestroyed()));
|
SLOT(SongInsertVetoListenerDestroyed()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Playlist::RemoveSongInsertVetoListener(SongInsertVetoListener *
|
void Playlist::RemoveSongInsertVetoListener(SongInsertVetoListener* listener) {
|
||||||
listener) {
|
|
||||||
disconnect(listener, SIGNAL(destroyed()), this,
|
disconnect(listener, SIGNAL(destroyed()), this,
|
||||||
SLOT(SongInsertVetoListenerDestroyed()));
|
SLOT(SongInsertVetoListenerDestroyed()));
|
||||||
veto_listeners_.removeAll(listener);
|
veto_listeners_.removeAll(listener);
|
||||||
@ -1963,8 +1962,7 @@ void Playlist::StopAfter(int row) {
|
|||||||
return library_items_by_id_.values(id);
|
return library_items_by_id_.values(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Playlist::TracksAboutToBeDequeued(const QModelIndex&, int begin,
|
void Playlist::TracksAboutToBeDequeued(const QModelIndex&, int begin, int end) {
|
||||||
int end) {
|
|
||||||
for (int i = begin; i <= end; ++i) {
|
for (int i = begin; i <= end; ++i) {
|
||||||
temp_dequeue_change_indexes_
|
temp_dequeue_change_indexes_
|
||||||
<< queue_->mapToSource(queue_->index(i, Column_Title));
|
<< queue_->mapToSource(queue_->index(i, Column_Title));
|
||||||
@ -1981,8 +1979,7 @@ void Playlist::StopAfter(int row) {
|
|||||||
void Playlist::TracksEnqueued(const QModelIndex&, int begin, int end) {
|
void Playlist::TracksEnqueued(const QModelIndex&, int begin, int end) {
|
||||||
const QModelIndex& b =
|
const QModelIndex& b =
|
||||||
queue_->mapToSource(queue_->index(begin, Column_Title));
|
queue_->mapToSource(queue_->index(begin, Column_Title));
|
||||||
const QModelIndex& e =
|
const QModelIndex& e = queue_->mapToSource(queue_->index(end, Column_Title));
|
||||||
queue_->mapToSource(queue_->index(end, Column_Title));
|
|
||||||
emit dataChanged(b, e);
|
emit dataChanged(b, e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user