2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Use app config value for QR login.

This commit is contained in:
John Preston
2019-11-27 12:45:23 +03:00
parent 55f83129b7
commit e6c86b19db
25 changed files with 191 additions and 91 deletions

View File

@@ -18,6 +18,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "media/audio/media_audio.h"
#include "mainwidget.h"
#include "observer_peer.h"
#include "main/main_app_config.h"
#include "main/main_session.h"
#include "facades.h"
@@ -26,6 +27,7 @@ namespace Main {
Account::Account(const QString &dataName) {
watchProxyChanges();
watchSessionChanges();
_appConfig = std::make_unique<AppConfig>(this);
}
Account::~Account() = default;