Separate form controller from view controller.

This commit is contained in:
John Preston
2018-03-29 23:49:31 +04:00
parent b0a9d26a94
commit a2dabfde56
19 changed files with 668 additions and 302 deletions
@@ -7,7 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#include "passport/passport_edit_identity_box.h"
#include "passport/passport_form_controller.h"
#include "passport/passport_form_view_separate.h"
#include "ui/widgets/input_fields.h"
#include "ui/widgets/buttons.h"
#include "ui/text_options.h"
@@ -142,7 +142,7 @@ void ScanButton::paintEvent(QPaintEvent *e) {
IdentityBox::IdentityBox(
QWidget*,
not_null<FormController*> controller,
not_null<ViewSeparate*> controller,
int valueIndex,
const IdentityData &data,
std::vector<ScanInfo> &&files)