Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
4e8763ec
Commit
4e8763ec
authored
Jul 20, 2009
by
dt
Browse files
Also hide the Clear environment checkbox for cmake.
parent
e76e4392
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cmakeprojectmanager/cmakebuildenvironmentwidget.cpp
View file @
4e8763ec
...
...
@@ -45,10 +45,17 @@ CMakeBuildEnvironmentWidget::CMakeBuildEnvironmentWidget(CMakeProject *project)
QVBoxLayout
*
vbox
=
new
QVBoxLayout
(
this
);
m_clearSystemEnvironmentCheckBox
=
new
QCheckBox
(
this
);
m_clearSystemEnvironmentCheckBox
->
setText
(
"Clear system environment"
);
m_clearSystemEnvironmentCheckBox
->
setVisible
(
false
);
vbox
->
addWidget
(
m_clearSystemEnvironmentCheckBox
);
m_buildEnvironmentWidget
=
new
ProjectExplorer
::
EnvironmentWidget
(
this
);
vbox
->
addWidget
(
m_buildEnvironmentWidget
);
connect
(
m_buildEnvironmentWidget
,
SIGNAL
(
switchedToDetails
()),
m_clearSystemEnvironmentCheckBox
,
SLOT
(
show
()));
connect
(
m_buildEnvironmentWidget
,
SIGNAL
(
switchedToSummary
()),
m_clearSystemEnvironmentCheckBox
,
SLOT
(
hide
()));
connect
(
m_buildEnvironmentWidget
,
SIGNAL
(
userChangesUpdated
()),
this
,
SLOT
(
environmentModelUserChangesUpdated
()));
connect
(
m_clearSystemEnvironmentCheckBox
,
SIGNAL
(
toggled
(
bool
)),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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