Disable drag of track items until this is properly implemented

Stop bad things from happening until proper DnD support of track
items has been implemented
This commit is contained in:
Vikram Ambrose 2018-01-11 13:49:18 +02:00
parent ae71d24f6e
commit fefea9de61
1 changed files with 1 additions and 0 deletions

View File

@ -255,6 +255,7 @@ void PlaylistListContainer::SetApplication(Application* app) {
parent_folder->appendRow(playlist_item);
for (const Song s : app->playlist_backend()->GetPlaylistSongs(p.id)) {
QStandardItem* track_item = model_->NewTrack(s);
track_item->setDragEnabled(false);
playlist_item->appendRow(track_item);
}
}