Skip to content
Snippets Groups Projects
Commit 800db2c2 authored by Dirk Wilden's avatar Dirk Wilden
Browse files

null pointer protection

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@3669 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f5368222
No related branches found
No related tags found
No related merge requests found
......@@ -42,8 +42,10 @@
void DataControlPlugin::slotPopupRemove ( ) {
QItemSelectionModel* selection = view_->selectionModel();
if (selection == 0) return;
// Get all selected rows
QModelIndexList indexList = selection->selectedRows ( 0 );
QModelIndexList indexList = selection->selectedRows();
for ( int i = 0 ; i < indexList.size() ; ++i) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment