fix some warnings 2
This commit is contained in:
@@ -61,7 +61,7 @@ PrimitiveEditor::PrimitiveEditor(QWidget *parent) : QWidget(parent), ui(new Ui::
|
||||
ui->comboPrimitives->addItem(me.key(i));
|
||||
all.unite(editors[(PrimitiveType)me.value(i)].toSet());
|
||||
}
|
||||
all_editors = all.toList();
|
||||
all_editors = all.values();
|
||||
foreach (QWidget * w, all_editors) {
|
||||
if (w->layout()) w->layout()->setContentsMargins(0, layout()->spacing(), 0, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user