diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-04-14 22:11:17 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-05-06 13:58:09 -0700 |
commit | 0d06eb83d87302c235f682e95a767d4e37904ea6 (patch) | |
tree | 601f60b54add5e2689c01f351190f80bf2ecb293 /qt-models/divepicturemodel.cpp | |
parent | e61641c79cd57bfa55d2371615a7eef7c73b4eb7 (diff) | |
download | subsurface-0d06eb83d87302c235f682e95a767d4e37904ea6.tar.gz |
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>
Diffstat (limited to 'qt-models/divepicturemodel.cpp')
-rw-r--r-- | qt-models/divepicturemodel.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-models/divepicturemodel.cpp b/qt-models/divepicturemodel.cpp index e50c51744..6272935de 100644 --- a/qt-models/divepicturemodel.cpp +++ b/qt-models/divepicturemodel.cpp @@ -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: |