apply some code analyzer recommendations
This commit is contained in:
@@ -91,7 +91,7 @@ void CDPultWindow::apply(bool sessions) {
|
||||
X.lock();
|
||||
PIVector<PIDeque<int>> x_list = X.enabledList();
|
||||
X.unlock();
|
||||
piForeachC(PIDeque<int> & p, x_list)
|
||||
for (const auto & p: x_list)
|
||||
X.enable(X[p]);
|
||||
((CDItemModel *)widgetX->view->model())->updateModel();
|
||||
widgetX->view->expandAll();
|
||||
|
||||
Reference in New Issue
Block a user