2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Optimize connecting widget.

This commit is contained in:
John Preston
2019-02-10 19:29:55 +03:00
parent 9dd93a77a0
commit 26f1ade5ba
14 changed files with 315 additions and 268 deletions

View File

@@ -68,7 +68,7 @@ class TopBarWrapWidget;
class SectionMemento;
class SectionWidget;
class AbstractSectionWidget;
class ConnectingWidget;
class ConnectionState;
struct SectionSlideParams;
struct SectionShow;
enum class Column;
@@ -486,7 +486,7 @@ private:
object_ptr<Window::SectionWidget> _mainSection = { nullptr };
object_ptr<Window::SectionWidget> _thirdSection = { nullptr };
std::unique_ptr<Window::SectionMemento> _thirdSectionFromStack;
base::unique_qptr<Window::ConnectingWidget> _connecting;
std::unique_ptr<Window::ConnectionState> _connecting;
base::weak_ptr<Calls::Call> _currentCall;
object_ptr<Ui::SlideWrap<Calls::TopBar>> _callTopBar = { nullptr };