Skip to content
Permalink
Browse files

Avoid detach

  • Loading branch information
m-kuhn committed Jun 12, 2016
1 parent f16fba5 commit bfc35770535002cbe7c8f88f137d013bd6b633ff
Showing with 2 additions and 5 deletions.
  1. +2 −5 src/app/qgscustomization.cpp
@@ -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 )

0 comments on commit bfc3577

Please sign in to comment.
You can’t perform that action at this time.