NOISSUE Remove some unused code from InstanceView

This commit is contained in:
kb1000 2021-12-01 21:21:05 +01:00
parent ffcef673de
commit eb1091a5f4
No known key found for this signature in database
GPG Key ID: C174DD765CC3E131

View File

@ -835,15 +835,6 @@ QModelIndex InstanceView::moveCursor(QAbstractItemView::CursorAction cursorActio
if(group_index < 0)
return current;
auto real_group = m_groups[group_index];
int beginning_row = 0;
for(auto group: m_groups)
{
if(group == real_group)
break;
beginning_row += group->numRows();
}
QPair<int, int> pos = cat->positionOf(current);
int column = pos.first;
int row = pos.second;