removed unused code

Wed, 07 Mar 2018 19:32:05 +0200

author
Santeri Piippo
date
Wed, 07 Mar 2018 19:32:05 +0200
changeset 1277
821c30615069
parent 1276
cae7b4f660c5
child 1278
6e1ea24e5a5e

removed unused code

src/model.cpp file | annotate | diff | comparison | revisions
src/model.h file | annotate | diff | comparison | revisions
--- 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();

mercurial