2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Remove many includes from stdafx.pch.

This commit is contained in:
John Preston
2019-09-04 10:19:15 +03:00
parent 4929de2bfb
commit 6343221d7b
109 changed files with 447 additions and 87 deletions

View File

@@ -32,6 +32,9 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "styles/style_boxes.h"
#include "styles/style_chat_helpers.h"
#include <QtWidgets/QApplication>
#include <QtGui/QClipboard>
namespace {
constexpr auto kStickersPanelPerRow = 5;
@@ -177,7 +180,7 @@ void StickerSetBox::addStickers() {
void StickerSetBox::shareStickers() {
auto url = Core::App().createInternalLinkFull(qsl("addstickers/") + _inner->shortName());
QApplication::clipboard()->setText(url);
QGuiApplication::clipboard()->setText(url);
Ui::show(Box<InformBox>(tr::lng_stickers_copied(tr::now)));
}