Gui: use contains() and isEmpty() instead of count() where possible
This commit is contained in:
@@ -78,7 +78,7 @@ const std::string & ToolBarItem::command() const
|
||||
|
||||
bool ToolBarItem::hasItems() const
|
||||
{
|
||||
return _items.count() > 0;
|
||||
return !_items.isEmpty();
|
||||
}
|
||||
|
||||
ToolBarItem* ToolBarItem::findItem(const std::string& name)
|
||||
|
||||
Reference in New Issue
Block a user