Commit f3e30ab0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use qAsConst

parent 08744ab7
...@@ -374,7 +374,7 @@ CropWidget::CropWidget(QWidget *parent, RasterImageView *imageView, CropTool *cr ...@@ -374,7 +374,7 @@ CropWidget::CropWidget(QWidget *parent, RasterImageView *imageView, CropTool *cr
setFont(QFontDatabase::systemFont(QFontDatabase::SmallestReadableFont)); setFont(QFontDatabase::systemFont(QFontDatabase::SmallestReadableFont));
connect(d->advancedCheckBox, &QCheckBox::toggled, this, &CropWidget::slotAdvancedCheckBoxToggled); connect(d->advancedCheckBox, &QCheckBox::toggled, this, &CropWidget::slotAdvancedCheckBoxToggled);
for (auto w : d->mAdvancedWidgets) { for (auto w : qAsConst(d->mAdvancedWidgets)) {
w->setVisible(false); w->setVisible(false);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment