Use const access to list element
Saves a copy operation.
This commit is contained in:
parent
6b148f1866
commit
9a1d0a7eec
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ inline QList< ClientGroupItem > ClientGroup::items() const
|
|||
|
||||
inline Client* ClientGroup::visible()
|
||||
{
|
||||
return clients_[visible_];
|
||||
return clients_.at(visible_);
|
||||
}
|
||||
|
||||
inline QSize ClientGroup::minSize() const
|
||||
|
|
Loading…
Reference in a new issue