From d693535d539c143b309917ba2bde7cabb5552468 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Wed, 9 Nov 2022 22:13:34 +0100 Subject: [PATCH] Revert "add clipboard permission" This reverts commit b0a8815bb8e252d7cafdb22736b1b28442fc45ba. --- src/discordpage.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/discordpage.cpp b/src/discordpage.cpp index 073641c..6821a39 100644 --- a/src/discordpage.cpp +++ b/src/discordpage.cpp @@ -50,8 +50,6 @@ DiscordPage::DiscordPage(QWidget *parent) : QWebEnginePage(parent) { false); settings()->setAttribute(QWebEngineSettings::JavascriptCanOpenWindows, false); settings()->setAttribute(QWebEngineSettings::ScrollAnimatorEnabled, true); - settings()->setAttribute(QWebEngineSettings::JavascriptCanAccessClipboard, - true); setUrl(QUrl("https://discord.com/app"));