Remove unneeded this

This commit is contained in:
Jonas Kvinge
2021-09-13 20:49:33 +02:00
parent d78ee3d62b
commit d5b0794b00
20 changed files with 40 additions and 40 deletions

View File

@@ -109,7 +109,7 @@ void Queue::SourceDataChanged(const QModelIndex &top_left, const QModelIndex &bo
emit dataChanged(proxy_index, proxy_index);
}
emit ItemCountChanged(this->ItemCount());
emit ItemCountChanged(ItemCount());
}
@@ -128,7 +128,7 @@ void Queue::SourceLayoutChanged() {
signal_item_count_changed_ = QObject::connect(this, &Queue::ItemCountChanged, this, &Queue::UpdateTotalLength);
emit ItemCountChanged(this->ItemCount());
emit ItemCountChanged(ItemCount());
}
@@ -250,8 +250,8 @@ void Queue::UpdateTotalLength() {
void Queue::UpdateSummaryText() {
QString summary;
int tracks = this->ItemCount();
quint64 nanoseconds = this->GetTotalLength();
int tracks = ItemCount();
quint64 nanoseconds = GetTotalLength();
summary += tracks == 1 ? tr("1 track") : tr("%1 tracks").arg(tracks);