diff --git a/src/plugins/projectexplorer/buildsettingspropertiespage.cpp b/src/plugins/projectexplorer/buildsettingspropertiespage.cpp index ee392d11976609b1a4842443574d42a8eb8de9a0..02e7198287692ee77432b8bacda2683eb2c6c2d0 100644 --- a/src/plugins/projectexplorer/buildsettingspropertiespage.cpp +++ b/src/plugins/projectexplorer/buildsettingspropertiespage.cpp @@ -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(); diff --git a/src/plugins/projectexplorer/buildsettingspropertiespage.h b/src/plugins/projectexplorer/buildsettingspropertiespage.h index d71b4d2bc373b3572cc63b3f77ef7edcfa54f16e..3635dfa4326673320c0e7b15909237fcbd0ec900 100644 --- a/src/plugins/projectexplorer/buildsettingspropertiespage.h +++ b/src/plugins/projectexplorer/buildsettingspropertiespage.h @@ -96,7 +96,7 @@ private slots: void checkMakeActiveLabel(); void makeActive(); - void init(); + void setupUi(); private: void cloneConfiguration(BuildConfiguration *toClone);