From 0d06eb83d87302c235f682e95a767d4e37904ea6 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 14 Apr 2020 22:11:17 +0200 Subject: media: don't send dive-id in drag&drop event The profile-widget doesn't use that information anymore. Signed-off-by: Berthold Stoeger --- qt-models/divepicturemodel.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'qt-models') 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: -- cgit v1.2.3-70-g09d2