Commit 2b613d6f authored by dt's avatar dt
Browse files

Fix id creation

parent 2160436d
......@@ -90,8 +90,8 @@ QtVersionManager::QtVersionManager()
int id = s->value("Id", -1).toInt();
if (id == -1)
id = getUniqueId();
else if (id > m_idcount)
m_idcount = id;
else if (m_idcount < id)
m_idcount = id + 1;
bool isAutodetected;
QString autodetectionSource;
if (s->contains("isAutodetected")) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment