Revert "add clipboard permission"

This reverts commit b0a8815bb8.
This commit is contained in:
Malte Jürgens 2022-11-09 22:13:34 +01:00
parent e41af697f7
commit d693535d53
No known key found for this signature in database
GPG Key ID: D29FBD5F93C0CFC3
1 changed files with 0 additions and 2 deletions

View File

@ -50,8 +50,6 @@ DiscordPage::DiscordPage(QWidget *parent) : QWebEnginePage(parent) {
false); false);
settings()->setAttribute(QWebEngineSettings::JavascriptCanOpenWindows, false); settings()->setAttribute(QWebEngineSettings::JavascriptCanOpenWindows, false);
settings()->setAttribute(QWebEngineSettings::ScrollAnimatorEnabled, true); settings()->setAttribute(QWebEngineSettings::ScrollAnimatorEnabled, true);
settings()->setAttribute(QWebEngineSettings::JavascriptCanAccessClipboard,
true);
setUrl(QUrl("https://discord.com/app")); setUrl(QUrl("https://discord.com/app"));