2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Rename td-specific libs from lib_ to td_.

This commit is contained in:
John Preston
2020-09-30 10:51:17 +03:00
parent 2e02f27a5c
commit def1266216
21 changed files with 205 additions and 94 deletions

View File

@@ -20,6 +20,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "ui/widgets/labels.h"
#include "ui/widgets/checkbox.h"
#include "ui/layers/generic_box.h"
#include "ui/toasts/common_toasts.h"
#include "main/main_session.h"
#include "main/main_session_settings.h"
#include "apiwrap.h"
@@ -57,7 +58,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "styles/style_layers.h"
#include "styles/style_boxes.h"
#include "styles/style_window.h" // st::windowMinWidth
#include "styles/style_history.h" // st::historyErrorToast
#include <QtWidgets/QAction>
@@ -1052,10 +1052,8 @@ QPointer<Ui::RpWidget> ShowSendNowMessagesBox(
session->data().idsToItems(items),
TextWithTags());
if (!error.isEmpty()) {
Ui::Toast::Show(Ui::Toast::Config{
Ui::ShowMultilineToast({
.text = { error },
.st = &st::historyErrorToast,
.multiline = true,
});
return { nullptr };
}