forked from qt-creator/qt-creator
Valgrind: Modernize
modernize-* Change-Id: I6db60dce78cf2575e36caa597b1f095adba34fd9 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -151,7 +151,7 @@ ValgrindConfigWidget::ValgrindConfigWidget(ValgrindBaseSettings *settings, bool
|
||||
|
||||
if (!global) {
|
||||
// In project settings we want a flat vertical list.
|
||||
QVBoxLayout *l = new QVBoxLayout;
|
||||
auto l = new QVBoxLayout;
|
||||
while (layout()->count()) {
|
||||
QLayoutItem *item = layout()->takeAt(0);
|
||||
if (QWidget *w = item->widget())
|
||||
|
||||
Reference in New Issue
Block a user