mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Remove unnecessary attribute
This commit is contained in:
parent
7d347eee94
commit
d3a56fa893
@ -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")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user