Skip to content
Snippets Groups Projects
Commit 0deed0c9 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

combine boolean conditions

parent 8ad2db99
No related branches found
No related tags found
2 merge requests!327rename files and classes -> "Toolbar", "Toolbox",!326make DesignerScene code more compact
......@@ -214,10 +214,8 @@ void DesignerScene::updateViews(const QModelIndex& parentIndex, IView* parentVie
continue;
childView = addViewForItem(item);
if (childView) {
if (parentView)
parentView->addView(childView, childCount++);
}
if (childView && parentView)
parentView->addView(childView, childCount++);
}
updateViews(itemIndex, childView);
......
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