forked from qt-creator/qt-creator
Fix the flickering also for the cmake plugin.
This commit is contained in:
@@ -52,10 +52,17 @@ CMakeBuildEnvironmentWidget::CMakeBuildEnvironmentWidget(CMakeProject *project)
|
||||
|
||||
connect(m_buildEnvironmentWidget, SIGNAL(userChangesUpdated()),
|
||||
this, SLOT(environmentModelUserChangesUpdated()));
|
||||
connect(m_buildEnvironmentWidget, SIGNAL(detailsVisibleChanged(bool)),
|
||||
this, SLOT(layoutFixup()));
|
||||
connect(m_clearSystemEnvironmentCheckBox, SIGNAL(toggled(bool)),
|
||||
this, SLOT(clearSystemEnvironmentCheckBoxClicked(bool)));
|
||||
}
|
||||
|
||||
void CMakeBuildEnvironmentWidget::layoutFixup()
|
||||
{
|
||||
fixupLayout(m_buildEnvironmentWidget->detailsWidget());
|
||||
}
|
||||
|
||||
QString CMakeBuildEnvironmentWidget::displayName() const
|
||||
{
|
||||
return tr("Build Environment");
|
||||
|
@@ -56,6 +56,7 @@ public:
|
||||
private slots:
|
||||
void environmentModelUserChangesUpdated();
|
||||
void clearSystemEnvironmentCheckBoxClicked(bool checked);
|
||||
void layoutFixup();
|
||||
|
||||
private:
|
||||
ProjectExplorer::EnvironmentWidget *m_buildEnvironmentWidget;
|
||||
|
Reference in New Issue
Block a user