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 {
|
||||
QList<QUrl> urls;
|
||||
QModelIndexList items;
|
||||
|
||||
foreach (const QModelIndex& index, indexes) {
|
||||
if (!IsPlayable(index))
|
||||
continue;
|
||||
|
||||
items << index;
|
||||
urls << index.data(Role_Url).toUrl();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue