1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2025-01-30 17:14:58 +01:00

RadioView: Add clazy:exclude=reserve-candidates

This commit is contained in:
Jonas Kvinge 2021-10-30 02:01:14 +02:00
parent 3d807d2331
commit a2ad68406d

View File

@ -152,7 +152,7 @@ void RadioView::Homepage() {
for (const QModelIndex &idx : selected_indexes) {
QUrl url = idx.data(RadioModel::Role_Homepage).toUrl();
if (!urls.contains(url)) {
urls << url;
urls << url; // clazy:exclude=reserve-candidates
}
}
@ -171,7 +171,7 @@ void RadioView::Donate() {
for (const QModelIndex &idx : selected_indexes) {
QUrl url = idx.data(RadioModel::Role_Donate).toUrl();
if (!urls.contains(url)) {
urls << url;
urls << url; // clazy:exclude=reserve-candidates
}
}