2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-18 13:59:46 +00:00

Move MTP::Instance to Main::Account.

This commit is contained in:
John Preston
2019-07-24 10:46:23 +02:00
parent db2018c765
commit 9cf4cf6dca
32 changed files with 715 additions and 526 deletions

View File

@@ -39,7 +39,10 @@ class CodeWidget : public Widget::Step {
Q_OBJECT
public:
CodeWidget(QWidget *parent, Widget::Data *data);
CodeWidget(
QWidget *parent,
not_null<Main::Account*> account,
not_null<Widget::Data*> data);
bool hasBack() const override {
return true;