Fix missing return value ConnectionTreeModel::removeRows
This commit is contained in:
parent
41c1305e3d
commit
e5ae9663c4
1 changed files with 2 additions and 0 deletions
|
|
@ -627,7 +627,9 @@ bool ConnectionTreeModel::removeRows(int row, int count, const QModelIndex &pare
|
||||||
beginRemoveRows(parent, row, row + count - 1);
|
beginRemoveRows(parent, row, row + count - 1);
|
||||||
SCOPE_EXIT { endRemoveRows(); };
|
SCOPE_EXIT { endRemoveRows(); };
|
||||||
grp->erase(row, count);
|
grp->erase(row, count);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConnectionTreeModel::save(const QString &group_name, const ConnectionConfig &cc)
|
void ConnectionTreeModel::save(const QString &group_name, const ConnectionConfig &cc)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue