Merge pull request #4295 from kb-1000/instanceview-unused-code
NOISSUE Remove some unused code from InstanceView
This commit is contained in:
commit
6f6fa6955a
@ -835,15 +835,6 @@ QModelIndex InstanceView::moveCursor(QAbstractItemView::CursorAction cursorActio
|
|||||||
if(group_index < 0)
|
if(group_index < 0)
|
||||||
return current;
|
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);
|
QPair<int, int> pos = cat->positionOf(current);
|
||||||
int column = pos.first;
|
int column = pos.first;
|
||||||
int row = pos.second;
|
int row = pos.second;
|
||||||
|
Loading…
Reference in New Issue
Block a user