getting a little cleaner

This commit is contained in:
Chris Cochrun 2022-08-25 06:17:03 -05:00
parent 19c7e4cd40
commit 2583accef1
2 changed files with 11 additions and 11 deletions

View file

@ -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();