media: don't send dive-id in drag&drop event

The profile-widget doesn't use that information anymore.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-04-14 22:11:17 +02:00 committed by Dirk Hohndel
parent e61641c79c
commit 0d06eb83d8
2 changed files with 1 additions and 4 deletions

View file

@ -97,8 +97,6 @@ QVariant DivePictureModel::data(const QModelIndex &index, int role) const
return QFileInfo(QString::fromStdString(entry.filename)).fileName();
case Qt::DisplayPropertyRole:
return QFileInfo(QString::fromStdString(entry.filename)).filePath();
case Qt::UserRole:
return entry.diveId;
case Qt::UserRole + 1:
return entry.offsetSeconds;
case Qt::UserRole + 2: