gui: Fixed unused parameters and spurious ; warnings in one of the headers

This commit is contained in:
dragonmux 2024-01-03 15:03:28 +00:00 committed by myrtle
parent cb4db2d368
commit e9c69ac00c

View File

@ -71,7 +71,7 @@ class Item
if (parent_ != nullptr) {
parent_->addChild(this);
}
};
}
// Number of children.
int count() const { return children_.count(); }
@ -102,9 +102,9 @@ class Item
virtual bool canFetchMore() const { return false; }
virtual void fetchMore() {}
virtual boost::optional<Item *> getById(IdStringList id) { return boost::none; }
virtual void search(QList<Item *> &results, QString text, int limit) {}
virtual void updateElements(Context *ctx, std::vector<IdStringList> elements) {}
virtual boost::optional<Item *> getById(IdStringList /*id*/) { return boost::none; }
virtual void search(QList<Item *> &/*results*/, QString /*text*/, int /*limit*/) { }
virtual void updateElements(Context * /*ctx*/, std::vector<IdStringList> /*elements*/) { }
virtual ~Item()
{