Fix the flickering also for the cmake plugin.

This commit is contained in:
dt
2009-08-11 16:47:24 +02:00
parent 4d22bd3fde
commit 63c5a9328e
2 changed files with 8 additions and 0 deletions

View File

@@ -52,10 +52,17 @@ CMakeBuildEnvironmentWidget::CMakeBuildEnvironmentWidget(CMakeProject *project)
connect(m_buildEnvironmentWidget, SIGNAL(userChangesUpdated()), connect(m_buildEnvironmentWidget, SIGNAL(userChangesUpdated()),
this, SLOT(environmentModelUserChangesUpdated())); this, SLOT(environmentModelUserChangesUpdated()));
connect(m_buildEnvironmentWidget, SIGNAL(detailsVisibleChanged(bool)),
this, SLOT(layoutFixup()));
connect(m_clearSystemEnvironmentCheckBox, SIGNAL(toggled(bool)), connect(m_clearSystemEnvironmentCheckBox, SIGNAL(toggled(bool)),
this, SLOT(clearSystemEnvironmentCheckBoxClicked(bool))); this, SLOT(clearSystemEnvironmentCheckBoxClicked(bool)));
} }
void CMakeBuildEnvironmentWidget::layoutFixup()
{
fixupLayout(m_buildEnvironmentWidget->detailsWidget());
}
QString CMakeBuildEnvironmentWidget::displayName() const QString CMakeBuildEnvironmentWidget::displayName() const
{ {
return tr("Build Environment"); return tr("Build Environment");

View File

@@ -56,6 +56,7 @@ public:
private slots: private slots:
void environmentModelUserChangesUpdated(); void environmentModelUserChangesUpdated();
void clearSystemEnvironmentCheckBoxClicked(bool checked); void clearSystemEnvironmentCheckBoxClicked(bool checked);
void layoutFixup();
private: private:
ProjectExplorer::EnvironmentWidget *m_buildEnvironmentWidget; ProjectExplorer::EnvironmentWidget *m_buildEnvironmentWidget;