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
e92c30f1
Commit
e92c30f1
authored
Mar 30, 2010
by
dt
Browse files
Fix not updating makestep make label on qt version change
parent
2b8c7d68
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/makestep.cpp
View file @
e92c30f1
...
...
@@ -222,6 +222,9 @@ MakeStepConfigWidget::MakeStepConfigWidget(MakeStep *makeStep)
connect
(
makeStep
->
buildConfiguration
(),
SIGNAL
(
buildDirectoryChanged
()),
this
,
SLOT
(
updateDetails
()));
connect
(
makeStep
->
qt4BuildConfiguration
(),
SIGNAL
(
qtVersionChanged
()),
this
,
SLOT
(
qtVersionChanged
()));
connect
(
ProjectExplorer
::
ProjectExplorerPlugin
::
instance
(),
SIGNAL
(
settingsChanged
()),
this
,
SLOT
(
updateMakeOverrideLabel
()));
connect
(
ProjectExplorer
::
ProjectExplorerPlugin
::
instance
(),
SIGNAL
(
settingsChanged
()),
...
...
@@ -233,6 +236,12 @@ MakeStepConfigWidget::~MakeStepConfigWidget()
delete
m_ui
;
}
void
MakeStepConfigWidget
::
qtVersionChanged
()
{
updateMakeOverrideLabel
();
updateDetails
();
}
void
MakeStepConfigWidget
::
updateMakeOverrideLabel
()
{
Qt4BuildConfiguration
*
qt4bc
=
m_makeStep
->
qt4BuildConfiguration
();
...
...
@@ -252,7 +261,7 @@ void MakeStepConfigWidget::updateDetails()
// Try to detect command in environment
const
QString
tmp
=
environment
.
searchInPath
(
makeCmd
);
if
(
tmp
.
isEmpty
())
{
m_summaryText
=
tr
(
"<b>Make
Step
:</b> %1 not found in the environment."
).
arg
(
makeCmd
);
m_summaryText
=
tr
(
"<b>Make:</b> %1 not found in the environment."
).
arg
(
makeCmd
);
emit
updateSummary
();
return
;
}
...
...
src/plugins/qt4projectmanager/makestep.h
View file @
e92c30f1
...
...
@@ -127,6 +127,7 @@ private slots:
void
updateMakeOverrideLabel
();
void
updateDetails
();
void
userArgumentsChanged
();
void
qtVersionChanged
();
private:
Ui
::
MakeStep
*
m_ui
;
MakeStep
*
m_makeStep
;
...
...
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