src/linetypes/object.cpp

changeset 17
a5111f4e6412
parent 14
20d2ed3af73d
child 21
0133e565e072
equal deleted inserted replaced
16:aeb5f203b3eb 17:a5111f4e6412
1 #include <QBrush> 1 #include <QBrush>
2 #include <QFont> 2 #include <QFont>
3 #include "object.h" 3 #include "object.h"
4
5 /*
6 static Uuid &getUuidForNewObject()
7 {
8 static Uuid running_uuid {0, 0};
9 incrementUuid(running_uuid);
10 return running_uuid;
11 }
12 */
13 4
14 static unsigned int getIdForNewObject() 5 static unsigned int getIdForNewObject()
15 { 6 {
16 static unsigned int id = 0; 7 static unsigned int id = 0;
17 id += 1; 8 id += 1;

mercurial