mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 19:45:31 +01:00
Remove some unused bits
This commit is contained in:
parent
7bdac8fba6
commit
2a68ecc726
@ -170,13 +170,11 @@ QStringList RadioModel::mimeTypes() const {
|
|||||||
|
|
||||||
QMimeData* RadioModel::mimeData(const QModelIndexList& indexes) const {
|
QMimeData* RadioModel::mimeData(const QModelIndexList& indexes) const {
|
||||||
QList<QUrl> urls;
|
QList<QUrl> urls;
|
||||||
QModelIndexList items;
|
|
||||||
|
|
||||||
foreach (const QModelIndex& index, indexes) {
|
foreach (const QModelIndex& index, indexes) {
|
||||||
if (!IsPlayable(index))
|
if (!IsPlayable(index))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
items << index;
|
|
||||||
urls << index.data(Role_Url).toUrl();
|
urls << index.data(Role_Url).toUrl();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user