forked from qt-creator/qt-creator
Rename method in buildsettingspropertiespage.
* Init is really setting up the UI, so rename it to setupUi. Reviewed-by: dt
This commit is contained in:
@@ -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:
|
|||||||
void checkMakeActiveLabel();
|
void checkMakeActiveLabel();
|
||||||
void makeActive();
|
void makeActive();
|
||||||
|
|
||||||
void init();
|
void setupUi();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void cloneConfiguration(BuildConfiguration *toClone);
|
void cloneConfiguration(BuildConfiguration *toClone);
|
||||||
|
Reference in New Issue
Block a user