mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Removed Ui::show from classes that have pointer to Controller.
This commit is contained in:
@@ -14,6 +14,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "base/timer.h"
|
||||
#include "dialogs/dialogs_key.h"
|
||||
#include "ui/effects/animation_value.h"
|
||||
#include "ui/layers/layer_widget.h"
|
||||
#include "window/window_adaptive.h"
|
||||
|
||||
class PhotoData;
|
||||
@@ -250,6 +251,11 @@ public:
|
||||
return _selectingPeer;
|
||||
}
|
||||
|
||||
QPointer<Ui::BoxContent> show(
|
||||
object_ptr<Ui::BoxContent> content,
|
||||
Ui::LayerOptions options = Ui::LayerOption::KeepOther,
|
||||
anim::type animated = anim::type::normal);
|
||||
|
||||
[[nodiscard]] auto tabbedSelector() const
|
||||
-> not_null<ChatHelpers::TabbedSelector*>;
|
||||
void takeTabbedSelectorOwnershipFrom(not_null<QWidget*> parent);
|
||||
|
Reference in New Issue
Block a user