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

Remove some usages of App::main().

This commit is contained in:
John Preston
2020-06-10 22:08:17 +04:00
parent ea86433be5
commit ee43027bea
53 changed files with 518 additions and 429 deletions

View File

@@ -405,8 +405,8 @@ void MainWindow::ui_removeLayerBlackout() {
}
}
MainWidget *MainWindow::mainWidget() {
return _main;
MainWidget *MainWindow::sessionContent() const {
return _main.data();
}
void MainWindow::ui_showBox(