Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #234 from ya0guang/patch-1
Browse files Browse the repository at this point in the history
`JavascriptCanOpenWindows` is set for multiple times in discordpage.c…
  • Loading branch information
maltejur committed Apr 22, 2024
2 parents 64c4303 + d687c9a commit 60b8dfc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/discordpage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ void DiscordPage::readAndAppendJsFile(const QString &path, QByteArray &data) {

void DiscordPage::setupPermissions() {
settings()->setAttribute(QWebEngineSettings::ScreenCaptureEnabled, true);
settings()->setAttribute(QWebEngineSettings::JavascriptCanOpenWindows, true);
settings()->setAttribute(QWebEngineSettings::AllowRunningInsecureContent,
true);
settings()->setAttribute(
Expand Down

0 comments on commit 60b8dfc

Please sign in to comment.