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:
@@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user