mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Move some calls from App namespace.
This commit is contained in:
@@ -586,7 +586,7 @@ void MainWindow::launchDrag(std::unique_ptr<QMimeData> data) {
|
||||
|
||||
void MainWindow::checkAuthSession() {
|
||||
if (AuthSession::Exists()) {
|
||||
_controller = std::make_unique<Window::Controller>(this);
|
||||
_controller = std::make_unique<Window::Controller>(&Auth(), this);
|
||||
} else {
|
||||
_controller = nullptr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user