Formatting

This commit is contained in:
Jonas Kvinge
2021-02-02 21:08:58 +01:00
parent 59b48ceb4a
commit 03959a68d5
68 changed files with 50 additions and 99 deletions

View File

@@ -477,4 +477,3 @@ void PlaylistBackend::SetPlaylistUiPath(int id, const QString &path) {
transaction.Commit();
}

View File

@@ -177,4 +177,3 @@ void PlaylistHeader::ResetColumns() {
void PlaylistHeader::ToggleRatingEditStatus() {
emit SectionRatingLockStatusChanged(action_rating_lock_->isChecked());
}

View File

@@ -154,4 +154,3 @@ bool PlaylistItem::HasCurrentForegroundColor() const {
}
void PlaylistItem::SetShouldSkip(bool val) { should_skip_ = val; }
bool PlaylistItem::GetShouldSkip() const { return should_skip_; }

View File

@@ -641,4 +641,3 @@ void PlaylistManager::RateCurrentSong(const double rating) {
void PlaylistManager::RateCurrentSong(const int rating) {
RateCurrentSong(rating / 5.0);
}

View File

@@ -59,4 +59,3 @@ void PlaylistSaveOptionsDialog::accept() {
Playlist::Path PlaylistSaveOptionsDialog::path_type() const {
return static_cast<Playlist::Path>(ui->filePaths->itemData(ui->filePaths->currentIndex()).toInt());
}

View File

@@ -39,8 +39,7 @@ SongLoaderInserter::SongLoaderInserter(TaskManager *task_manager, CollectionBack
enqueue_(false),
enqueue_next_(false),
collection_(collection),
player_(player) {
}
player_(player) {}
SongLoaderInserter::~SongLoaderInserter() { qDeleteAll(pending_); }
@@ -214,4 +213,3 @@ void SongLoaderInserter::AsyncLoad() {
deleteLater();
}