refactor(splits): Store container nodes as shared pointers (#6435)

Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
nerix
2025-11-02 15:26:50 +01:00
committed by GitHub
parent 624654a8ab
commit e4a4d812e3
4 changed files with 53 additions and 53 deletions
+1 -1
View File
@@ -690,7 +690,7 @@ void WindowManager::encodeNodeRecursively(SplitNode *node, QJsonObject &obj)
: "vertical");
QJsonArray itemsArr;
for (const std::unique_ptr<SplitNode> &n : node->getChildren())
for (const auto &n : node->getChildren())
{
QJsonObject subObj;
WindowManager::encodeNodeRecursively(n.get(), subObj);