Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
2b613d6f
Commit
2b613d6f
authored
Oct 01, 2009
by
dt
Browse files
Fix id creation
parent
2160436d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qtversionmanager.cpp
View file @
2b613d6f
...
...
@@ -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"
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment