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
19e3800c
Commit
19e3800c
authored
Mar 20, 2009
by
dt
Browse files
Fixes: Qt Version dialog not saving the msvc version.
parent
f7240bd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qtversionmanager.cpp
View file @
19e3800c
...
...
@@ -204,7 +204,7 @@ void QtVersionManager::writeVersionsIntoSettings()
{
QSettings
*
s
=
Core
::
ICore
::
instance
()
->
settings
();
s
->
setValue
(
defaultQtVersionKey
,
m_defaultVersion
);
s
->
beginWriteArray
(
"
QtVersions
"
);
s
->
beginWriteArray
(
QtVersions
SectionName
);
for
(
int
i
=
0
;
i
<
m_versions
.
size
();
++
i
)
{
s
->
setArrayIndex
(
i
);
s
->
setValue
(
"Name"
,
m_versions
.
at
(
i
)
->
name
());
...
...
@@ -521,8 +521,8 @@ void QtDirWidget::showEnvironmentPage(QTreeWidgetItem *item)
m_ui
.
msvcLabel
->
setText
(
""
);
}
else
{
m_ui
.
msvcComboBox
->
setVisible
(
true
);
m_ui
.
msvcComboBox
->
clear
();
bool
block
=
m_ui
.
msvcComboBox
->
blockSignals
(
true
);
m_ui
.
msvcComboBox
->
clear
();
foreach
(
const
QString
&
msvcenv
,
msvcEnvironments
)
{
m_ui
.
msvcComboBox
->
addItem
(
msvcenv
);
if
(
msvcenv
==
m_versions
.
at
(
index
)
->
msvcVersion
())
{
...
...
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