2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Move CalendarBox and ChooseDateTimeBox to td_ui.

This commit is contained in:
John Preston
2021-01-19 11:14:50 +04:00
parent 1cce383d15
commit 97fb310f54
19 changed files with 1161 additions and 1008 deletions

View File

@@ -40,7 +40,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "ui/toast/toast.h"
#include "ui/toasts/common_toasts.h"
#include "calls/calls_instance.h" // Core::App().calls().inCall().
#include "boxes/calendar_box.h"
#include "ui/boxes/calendar_box.h"
#include "boxes/confirm_box.h"
#include "mainwidget.h"
#include "mainwindow.h"
@@ -1051,7 +1051,7 @@ void SessionController::showJumpToDate(Dialogs::Key chat, QDate requestedDate) {
auto callback = [=](const QDate &date) {
session().api().jumpToDate(chat, date);
};
auto box = Box<CalendarBox>(
auto box = Box<Ui::CalendarBox>(
month,
highlighted,
std::move(callback));