Remove unnecessary attribute

This commit is contained in:
Raffson 2023-10-15 17:32:32 +02:00
parent 7d347eee94
commit d3a56fa893
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -5,9 +5,7 @@ from pathlib import Path
from PySide6.QtCore import QUrl
from PySide6.QtWebEngineCore import QWebEnginePage, QWebEngineSettings
from PySide6.QtWebEngineWidgets import (
QWebEngineView,
)
from PySide6.QtWebEngineWidgets import QWebEngineView
from game.server.settings import ServerSettings
from qt_ui.models import GameModel
@ -41,9 +39,6 @@ class QLiberationMap(QWebEngineView):
self.page.settings().setAttribute(
QWebEngineSettings.WebAttribute.LocalContentCanAccessRemoteUrls, True
)
self.page.settings().setAttribute(
QWebEngineSettings.WebAttribute.WebGLEnabled, True
)
if dev:
url = QUrl("http://localhost:3000")