mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Move App::histories to Data::Session.
This commit is contained in:
@@ -142,13 +142,9 @@ void MainWindow::firstShow() {
|
||||
void MainWindow::clearWidgetsHook() {
|
||||
Expects(_passcodeLock == nullptr || !Global::LocalPasscode());
|
||||
|
||||
auto wasMain = (_main != nullptr);
|
||||
_main.destroy();
|
||||
_passcodeLock.destroy();
|
||||
_intro.destroy();
|
||||
if (wasMain) {
|
||||
App::clearHistories();
|
||||
}
|
||||
}
|
||||
|
||||
QPixmap MainWindow::grabInner() {
|
||||
|
Reference in New Issue
Block a user