getting a little cleaner
This commit is contained in:
parent
19c7e4cd40
commit
2583accef1
2 changed files with 11 additions and 11 deletions
|
@ -191,7 +191,7 @@ bool ServiceItemModel::move(int sourceIndex, int destIndex) {
|
|||
sourceIndex, QModelIndex(), destIndex);
|
||||
if (begsuc) {
|
||||
if (destIndex = -1)
|
||||
m_item.move(sourceIndex, 0);
|
||||
m_items.move(sourceIndex, 0);
|
||||
else
|
||||
m_items.move(sourceIndex, destIndex);
|
||||
endMoveRows();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue