mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Wrapped raw SectionMemento with unique_ptr.
This commit is contained in:
@@ -134,7 +134,7 @@ public:
|
||||
|
||||
int backgroundFromY() const;
|
||||
void showSection(
|
||||
Window::SectionMemento &&memento,
|
||||
std::unique_ptr<Window::SectionMemento> &&memento,
|
||||
const SectionShow ¶ms);
|
||||
void updateColumnLayout();
|
||||
bool stackIsEmpty() const;
|
||||
@@ -271,7 +271,7 @@ private:
|
||||
Window::SectionSlideParams prepareShowAnimation(
|
||||
bool willHaveTopBarShadow);
|
||||
void showNewSection(
|
||||
Window::SectionMemento &&memento,
|
||||
std::unique_ptr<Window::SectionMemento> &&memento,
|
||||
const SectionShow ¶ms);
|
||||
void dropMainSection(Window::SectionWidget *widget);
|
||||
|
||||
|
Reference in New Issue
Block a user