We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f16fba5 commit bfc3577Copy full SHA for bfc3577
src/app/qgscustomization.cpp
@@ -279,11 +279,8 @@ void QgsCustomizationDialog::on_actionSelectAll_triggered( bool checked )
279
Q_UNUSED( checked );
280
QList<QTreeWidgetItem*> items = treeWidget->findItems( "*", Qt::MatchWildcard | Qt::MatchRecursive, 0 );
281
282
- QList<QTreeWidgetItem*>::iterator i;
283
- for ( i = items.begin(); i != items.end(); ++i )
284
- {
285
- ( *i )->setCheckState( 0, Qt::Checked );
286
- }
+ Q_FOREACH ( QTreeWidgetItem* item, items )
+ item->setCheckState( 0, Qt::Checked );
287
}
288
289
void QgsCustomizationDialog::on_mCustomizationEnabledCheckBox_toggled( bool checked )
0 commit comments