--- a/src/linetypes/object.cpp Sun Feb 02 00:58:59 2020 +0200 +++ b/src/linetypes/object.cpp Thu Feb 06 20:33:05 2020 +0200 @@ -2,9 +2,9 @@ #include <QFont> #include "object.h" -static unsigned int getIdForNewObject() +static std::int32_t getIdForNewObject() { - static unsigned int id = 0; + static std::int32_t id = 0; id += 1; return id; }