Commit bc913462 authored by dt's avatar dt

Fix flickering finally.

parent ac3e37fc
......@@ -137,8 +137,15 @@ bool BuildStep::immutable() const
void BuildConfigWidget::fixupLayout(QWidget *widget)
{
QWidget *parent = widget;
while((parent = parent->parentWidget()) && parent && parent->layout())
parent->layout()->activate();
QStack<QWidget *> widgets;
while((parent = parent->parentWidget()) && parent && parent->layout()) {
widgets.push(parent);
parent->layout()->update();
}
while(!widgets.isEmpty()) {
widgets.pop()->layout()->activate();
}
}
IBuildStepFactory::IBuildStepFactory()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment