mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-21 10:45:24 -04:00
Refactoring
This commit is contained in:
parent
4745d61905
commit
f90427229d
2 changed files with 9 additions and 12 deletions
|
@ -91,3 +91,10 @@ int TreeItem::row() const
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
TreeItem* TreeItem::child(int row)
|
||||
{
|
||||
std::list<TreeItem*>::iterator child = childItems.begin();
|
||||
std::advance(child, row);
|
||||
return *child;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue