mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-30 09:05:04 +01:00
RadioView: Add clazy:exclude=reserve-candidates
This commit is contained in:
parent
3d807d2331
commit
a2ad68406d
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user