src/modelobject.cpp

changeset 3
55a55a9ec2c2
parent 2
2bdc3ac5e77c
child 4
68988ebc2a68
--- a/src/modelobject.cpp	Sat Aug 24 14:44:42 2019 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-#include "modelobject.h"
-
-static Uuid &getUuidForNewObject()
-{
-    static Uuid running_uuid {0, 0};
-    incrementUuid(running_uuid);
-    return running_uuid;
-}
-
-ModelObject::ModelObject() :
-    id {getUuidForNewObject()}
-{
-}
-
-ModelObject::~ModelObject()
-{
-}
-
-
-Comment::Comment(QStringView text) :
-    ModelObject{},
-    storedText{text} {}

mercurial