Fix several clazy issues:
* C++11 range-loop might detach Qt container [-Wclazy-range-loop-detach]
This commit is contained in:
@@ -161,7 +161,8 @@ bool PropertyView::showAll() {
|
||||
void PropertyView::setShowAll(bool enable) {
|
||||
if(_ShowAll != enable) {
|
||||
_ShowAll = enable;
|
||||
for(auto view : getMainWindow()->findChildren<PropertyView*>()) {
|
||||
const auto views = getMainWindow()->findChildren<PropertyView*>();
|
||||
for(auto view : views) {
|
||||
if(view->isVisible()) {
|
||||
view->propertyEditorData->buildUp();
|
||||
view->propertyEditorView->buildUp();
|
||||
|
||||
Reference in New Issue
Block a user