Skip to content

Commit

Permalink
Avoid detach
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jun 12, 2016
1 parent f16fba5 commit bfc3577
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/app/qgscustomization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,8 @@ void QgsCustomizationDialog::on_actionSelectAll_triggered( bool checked )
Q_UNUSED( checked );
QList<QTreeWidgetItem*> items = treeWidget->findItems( "*", Qt::MatchWildcard | Qt::MatchRecursive, 0 );

QList<QTreeWidgetItem*>::iterator i;
for ( i = items.begin(); i != items.end(); ++i )
{
( *i )->setCheckState( 0, Qt::Checked );
}
Q_FOREACH ( QTreeWidgetItem* item, items )
item->setCheckState( 0, Qt::Checked );
}

void QgsCustomizationDialog::on_mCustomizationEnabledCheckBox_toggled( bool checked )
Expand Down

0 comments on commit bfc3577

Please sign in to comment.