2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 23:55:12 +00:00

Move old settings to old_settings.

This commit is contained in:
John Preston
2018-09-02 17:23:52 +03:00
parent 689aed7258
commit 4f16ad6757
37 changed files with 124 additions and 124 deletions

View File

@@ -33,7 +33,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "mediaview.h"
#include "storage/localstorage.h"
#include "apiwrap.h"
#include "settings/settings_widget.h"
#include "old_settings/settings_widget.h"
#include "platform/platform_notifications_manager.h"
#include "window/layer_widget.h"
#include "window/notifications_manager.h"
@@ -302,7 +302,7 @@ void MainWindow::setupMain(const MTPUser *self) {
void MainWindow::showSettings() {
if (isHidden()) showFromTray();
controller()->showSpecialLayer(Box<Settings::Widget>());
controller()->showSpecialLayer(Box<OldSettings::Widget>());
}
void MainWindow::showSpecialLayer(