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

Move terms lock from Core::App to Session.

This commit is contained in:
John Preston
2020-06-24 11:56:16 +04:00
parent 30c82bb2e0
commit e7b8a52278
19 changed files with 233 additions and 272 deletions

View File

@@ -177,9 +177,6 @@ private:
void initSize();
bool computeIsActive() const;
void checkLockByTerms();
void showTermsDecline();
void showTermsDelete();
not_null<Window::Controller*> _controller;
@@ -190,7 +187,6 @@ private:
object_ptr<Ui::RpWidget> _outdated;
object_ptr<Ui::RpWidget> _body;
object_ptr<TWidget> _rightColumn = { nullptr };
QPointer<Ui::BoxContent> _termsBox;
QIcon _icon;
bool _usingSupportIcon = false;