mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 21:43:55 -07:00
formatting-fix
This commit is contained in:
parent
69b076e1f9
commit
2931355cfb
5 changed files with 19 additions and 11 deletions
|
|
@ -70,28 +70,33 @@ public:
|
|||
}
|
||||
virtual void nodeChanged() const
|
||||
{
|
||||
if (parent() != nullptr)
|
||||
if (parent() != nullptr) {
|
||||
parent()->nodeChanged();
|
||||
}
|
||||
}
|
||||
virtual void preInsertChild(const FilterTreeNode *p, int i) const
|
||||
{
|
||||
if (parent() != nullptr)
|
||||
if (parent() != nullptr) {
|
||||
parent()->preInsertChild(p, i);
|
||||
}
|
||||
}
|
||||
virtual void postInsertChild(const FilterTreeNode *p, int i) const
|
||||
{
|
||||
if (parent() != nullptr)
|
||||
if (parent() != nullptr) {
|
||||
parent()->postInsertChild(p, i);
|
||||
}
|
||||
}
|
||||
virtual void preRemoveChild(const FilterTreeNode *p, int i) const
|
||||
{
|
||||
if (parent() != nullptr)
|
||||
if (parent() != nullptr) {
|
||||
parent()->preRemoveChild(p, i);
|
||||
}
|
||||
}
|
||||
virtual void postRemoveChild(const FilterTreeNode *p, int i) const
|
||||
{
|
||||
if (parent() != nullptr)
|
||||
if (parent() != nullptr) {
|
||||
parent()->postRemoveChild(p, i);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue