mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Use shared_ptr<Memento> for sections.
This commit is contained in:
@@ -94,7 +94,7 @@ void ContentWidget::updateControlsGeometry() {
|
||||
}
|
||||
}
|
||||
|
||||
std::unique_ptr<ContentMemento> ContentWidget::createMemento() {
|
||||
std::shared_ptr<ContentMemento> ContentWidget::createMemento() {
|
||||
auto result = doCreateMemento();
|
||||
_controller->saveSearchState(result.get());
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user