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
Tobias Hunger
qt-creator
Commits
c05c1ceb
Commit
c05c1ceb
authored
Dec 07, 2009
by
Tobias Hunger
Browse files
Rename method in buildsettingspropertiespage.
* Init is really setting up the UI, so rename it to setupUi. Reviewed-by: dt
parent
717e0d39
Changes
2
Show whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/buildsettingspropertiespage.cpp
View file @
c05c1ceb
...
...
@@ -109,10 +109,10 @@ BuildSettingsWidget::BuildSettingsWidget(Project *project) :
m_leftMargin
(
0
)
{
// Provide some time for our contentsmargins to get updated:
QTimer
::
singleShot
(
0
,
this
,
SLOT
(
init
()));
QTimer
::
singleShot
(
0
,
this
,
SLOT
(
setupUi
()));
}
void
BuildSettingsWidget
::
init
()
void
BuildSettingsWidget
::
setupUi
()
{
QMargins
margins
(
contentsMargins
());
m_leftMargin
=
margins
.
left
();
...
...
src/plugins/projectexplorer/buildsettingspropertiespage.h
View file @
c05c1ceb
...
...
@@ -96,7 +96,7 @@ private slots:
void
checkMakeActiveLabel
();
void
makeActive
();
void
init
();
void
setupUi
();
private:
void
cloneConfiguration
(
BuildConfiguration
*
toClone
);
...
...
Write
Preview
Markdown
is supported
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