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
5c715fa1
Commit
5c715fa1
authored
Feb 25, 2010
by
Thorbjørn Lindeijer
Browse files
Some small code style fixes
parent
e7936d38
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/plugins/genericprojectmanager/genericproject.cpp
View file @
5c715fa1
...
...
@@ -461,7 +461,7 @@ GenericBuildSettingsWidget::GenericBuildSettingsWidget(GenericProject *project)
fl
->
setFieldGrowthPolicy
(
QFormLayout
::
ExpandingFieldsGrow
);
// Configuration name
m_nameLineEdit
=
new
QLineEdit
()
;
m_nameLineEdit
=
new
QLineEdit
;
fl
->
addRow
(
tr
(
"Configuration Name:"
),
m_nameLineEdit
);
connect
(
m_nameLineEdit
,
SIGNAL
(
textEdited
(
QString
)),
...
...
@@ -504,7 +504,7 @@ void GenericBuildSettingsWidget::init(BuildConfiguration *bc)
m_pathChooser
->
setPath
(
m_buildConfiguration
->
buildDirectory
());
}
void
GenericBuildSettingsWidget
::
configNameEdited
(
QString
name
)
void
GenericBuildSettingsWidget
::
configNameEdited
(
const
QString
&
name
)
{
m_buildConfiguration
->
setDisplayName
(
name
);
}
...
...
src/plugins/genericprojectmanager/genericproject.h
View file @
5c715fa1
...
...
@@ -183,7 +183,7 @@ public:
virtual
void
init
(
ProjectExplorer
::
BuildConfiguration
*
bc
);
private
Q_SLOTS
:
void
configNameEdited
(
QString
name
);
void
configNameEdited
(
const
QString
&
name
);
void
buildDirectoryChanged
();
void
toolChainSelected
(
int
index
);
...
...
src/plugins/projectexplorer/buildconfiguration.cpp
View file @
5c715fa1
...
...
@@ -98,7 +98,7 @@ QVariantMap BuildConfiguration::toMap() const
void
BuildConfiguration
::
cloneSteps
(
BuildConfiguration
*
source
)
{
Q_ASSERT
(
source
);
foreach
(
BuildStep
*
originalbs
,
source
->
buildSteps
())
{
foreach
(
BuildStep
*
originalbs
,
source
->
buildSteps
())
{
IBuildStepFactory
*
factory
(
findCloneFactory
(
this
,
originalbs
));
if
(
!
factory
)
continue
;
...
...
@@ -106,7 +106,7 @@ void BuildConfiguration::cloneSteps(BuildConfiguration *source)
if
(
clonebs
)
m_buildSteps
.
append
(
clonebs
);
}
foreach
(
BuildStep
*
originalcs
,
source
->
cleanSteps
())
{
foreach
(
BuildStep
*
originalcs
,
source
->
cleanSteps
())
{
IBuildStepFactory
*
factory
=
findCloneFactory
(
this
,
originalcs
);
if
(
!
factory
)
continue
;
...
...
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