aboutsummaryrefslogtreecommitdiff
path: root/src/ThemeBuilder/components/conditions/CompoundConditionEditor.cpp
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-11-18 17:31:23 +0800
committerYuqian Yang <crupest@crupest.life>2025-11-18 17:31:23 +0800
commit04d243699cbde40fe69472f4c4df38c36f7942ef (patch)
treeaf2a2031ab7f2d9ce03cf677eba066e11f32a0c9 /src/ThemeBuilder/components/conditions/CompoundConditionEditor.cpp
parent358dc1498623d53f1d8bedf5172743deb6c03811 (diff)
downloadcru-04d243699cbde40fe69472f4c4df38c36f7942ef.tar.gz
cru-04d243699cbde40fe69472f4c4df38c36f7942ef.tar.bz2
cru-04d243699cbde40fe69472f4c4df38c36f7942ef.zip
Move delete later to platform::gui.
Diffstat (limited to 'src/ThemeBuilder/components/conditions/CompoundConditionEditor.cpp')
-rw-r--r--src/ThemeBuilder/components/conditions/CompoundConditionEditor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ThemeBuilder/components/conditions/CompoundConditionEditor.cpp b/src/ThemeBuilder/components/conditions/CompoundConditionEditor.cpp
index d7324350..8501d7cd 100644
--- a/src/ThemeBuilder/components/conditions/CompoundConditionEditor.cpp
+++ b/src/ThemeBuilder/components/conditions/CompoundConditionEditor.cpp
@@ -7,7 +7,7 @@
#include "cru/base/ClonePtr.h"
#include "cru/platform/Color.h"
#include "cru/ui/Base.h"
-#include "cru/ui/DeleteLater.h"
+#include "cru/platform/gui/DeleteLater.h"
#include "cru/ui/ThemeManager.h"
#include "cru/ui/controls/FlexLayout.h"
#include "cru/ui/style/Condition.h"
@@ -69,7 +69,7 @@ CompoundConditionEditor::CompoundConditionEditor() {
this->children_container_.RemoveChildAt(index);
RaiseChangeEvent();
});
- children_.push_back(ui::ToDeleteLaterPtr(std::move(editor)));
+ children_.push_back(platform::gui::ToDeleteLaterPtr(std::move(editor)));
children_container_.AddChild(children_.back()->GetRootControl());
RaiseChangeEvent();
}
@@ -100,7 +100,7 @@ void CompoundConditionEditor::SetChildren(
this->children_container_.RemoveChildAt(index);
RaiseChangeEvent();
});
- children_.push_back(ui::ToDeleteLaterPtr(std::move(editor)));
+ children_.push_back(platform::gui::ToDeleteLaterPtr(std::move(editor)));
children_container_.AddChild(children_.back()->GetRootControl());
}
if (trigger_change) {