Commit c05c1ceb authored by Tobias Hunger's avatar 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
...@@ -109,10 +109,10 @@ BuildSettingsWidget::BuildSettingsWidget(Project *project) : ...@@ -109,10 +109,10 @@ BuildSettingsWidget::BuildSettingsWidget(Project *project) :
m_leftMargin(0) m_leftMargin(0)
{ {
// Provide some time for our contentsmargins to get updated: // 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()); QMargins margins(contentsMargins());
m_leftMargin = margins.left(); m_leftMargin = margins.left();
......
...@@ -96,7 +96,7 @@ private slots: ...@@ -96,7 +96,7 @@ private slots:
void checkMakeActiveLabel(); void checkMakeActiveLabel();
void makeActive(); void makeActive();
void init(); void setupUi();
private: private:
void cloneConfiguration(BuildConfiguration *toClone); void cloneConfiguration(BuildConfiguration *toClone);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment