--- a/src/model.cpp Wed Mar 07 19:30:29 2018 +0200
+++ b/src/model.cpp Wed Mar 07 19:32:05 2018 +0200
@@ -592,9 +592,6 @@
return {};
}
- case ObjectIdRole:
- return object->id();
-
default:
return {};
}
--- a/src/model.h Wed Mar 07 19:30:29 2018 +0200
+++ b/src/model.h Wed Mar 07 19:32:05 2018 +0200
@@ -78,11 +78,6 @@
Q_OBJECT
public:
- enum
- {
- ObjectIdRole = Qt::UserRole,
- };
-
Model(class DocumentManager* manager);
Model(const Model& other) = delete;
~Model();