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_settings.h"
#include <QtGui/QGuiApplication>
#include <QtGui/QClipboard>
namespace Settings {
namespace {
@@ -114,7 +117,7 @@ void ShowMenu(
const auto menu = new Ui::PopupMenu(parent);
menu->addAction(copyButton, [=] {
QApplication::clipboard()->setText(text);
QGuiApplication::clipboard()->setText(text);
});
menu->popup(QCursor::pos());
}