Skip to content
Snippets Groups Projects
Commit 63c5a932 authored by dt's avatar dt
Browse files

Fix the flickering also for the cmake plugin.

parent 4d22bd3f
No related branches found
No related tags found
No related merge requests found
...@@ -52,10 +52,17 @@ CMakeBuildEnvironmentWidget::CMakeBuildEnvironmentWidget(CMakeProject *project) ...@@ -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");
......
...@@ -56,6 +56,7 @@ public: ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment