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

Commit

Permalink
JavascriptCanOpenWindows is set for multiple times in discordpage.c…
Browse files Browse the repository at this point in the history
…pp; remove the first invalid one.
  • Loading branch information
ya0guang authored Apr 2, 2024
1 parent 64c4303 commit d687c9a
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 d687c9a

Please sign in to comment.