diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-11-16 12:14:47 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-11-16 12:14:47 +0800 |
| commit | faf73c4af74bdae1abf394a33b573149b98ec2b1 (patch) | |
| tree | aa985593c35a256e7190eddf47e023962a717ade /src/ThemeBuilder/components/StyleRuleSetEditor.cpp | |
| parent | 4e0b7d82cd64ef8016dcb49247a8a5e4de8a0b3d (diff) | |
| download | cru-faf73c4af74bdae1abf394a33b573149b98ec2b1.tar.gz cru-faf73c4af74bdae1abf394a33b573149b98ec2b1.tar.bz2 cru-faf73c4af74bdae1abf394a33b573149b98ec2b1.zip | |
Clean DeleteLater.
Diffstat (limited to 'src/ThemeBuilder/components/StyleRuleSetEditor.cpp')
| -rw-r--r-- | src/ThemeBuilder/components/StyleRuleSetEditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ThemeBuilder/components/StyleRuleSetEditor.cpp b/src/ThemeBuilder/components/StyleRuleSetEditor.cpp index a2dd3177..f2509f4f 100644 --- a/src/ThemeBuilder/components/StyleRuleSetEditor.cpp +++ b/src/ThemeBuilder/components/StyleRuleSetEditor.cpp @@ -66,7 +66,7 @@ void StyleRuleSetEditor::UpdateView( for (auto i = change->position; i < change->position + change->count; ++i) { const auto& rule = style_rule_set->GetStyleRule(i); - auto style_rule_editor = ui::MakeDeleteLaterPtr<StyleRuleEditor>(); + auto style_rule_editor = ui::MakeDeleteLater<StyleRuleEditor>(); style_rule_editor->SetValue(rule, false); style_rule_editor->RemoveEvent()->AddSpyOnlyHandler( [this, editor = style_rule_editor.get()] { |
