From c05c1ceb76375683db05fb69cb09c46075d25b9e Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Mon, 7 Dec 2009 15:17:37 +0100 Subject: Rename method in buildsettingspropertiespage. * Init is really setting up the UI, so rename it to setupUi. Reviewed-by: dt --- src/plugins/projectexplorer/buildsettingspropertiespage.cpp | 4 ++-- src/plugins/projectexplorer/buildsettingspropertiespage.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/projectexplorer') diff --git a/src/plugins/projectexplorer/buildsettingspropertiespage.cpp b/src/plugins/projectexplorer/buildsettingspropertiespage.cpp index ee392d1197..02e7198287 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 d71b4d2bc3..3635dfa432 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); -- cgit v1.2.1