gui: Fixed unused parameters and spurious ;
warnings in one of the headers
This commit is contained in:
parent
cb4db2d368
commit
e9c69ac00c
@ -71,7 +71,7 @@ class Item
|
|||||||
if (parent_ != nullptr) {
|
if (parent_ != nullptr) {
|
||||||
parent_->addChild(this);
|
parent_->addChild(this);
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
// Number of children.
|
// Number of children.
|
||||||
int count() const { return children_.count(); }
|
int count() const { return children_.count(); }
|
||||||
@ -102,9 +102,9 @@ class Item
|
|||||||
virtual bool canFetchMore() const { return false; }
|
virtual bool canFetchMore() const { return false; }
|
||||||
virtual void fetchMore() {}
|
virtual void fetchMore() {}
|
||||||
|
|
||||||
virtual boost::optional<Item *> getById(IdStringList id) { return boost::none; }
|
virtual boost::optional<Item *> getById(IdStringList /*id*/) { return boost::none; }
|
||||||
virtual void search(QList<Item *> &results, QString text, int limit) {}
|
virtual void search(QList<Item *> &/*results*/, QString /*text*/, int /*limit*/) { }
|
||||||
virtual void updateElements(Context *ctx, std::vector<IdStringList> elements) {}
|
virtual void updateElements(Context * /*ctx*/, std::vector<IdStringList> /*elements*/) { }
|
||||||
|
|
||||||
virtual ~Item()
|
virtual ~Item()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user