Use const access to list element

Saves a copy operation.
This commit is contained in:
Martin Gräßlin 2011-11-13 20:11:00 +01:00
parent 6b148f1866
commit 9a1d0a7eec

View file

@ -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