fix: Remove forced OpenGl context sharing
This is freezing the app when initialising the webengineview on linux with qt 5.15.8
This commit is contained in:
parent
11f1e1541b
commit
63f6323185
|
@ -160,9 +160,10 @@ proc mainProc() =
|
|||
let fleetConfig = readFile(joinPath(getAppDir(), fleetsPath))
|
||||
let statusFoundation = newStatusFoundation(fleetConfig)
|
||||
let uiScaleFilePath = joinPath(DATADIR, "ui-scale")
|
||||
# Required by the WalletConnectSDK view right after creating the QGuiApplication instance
|
||||
initializeWebView()
|
||||
enableHDPI(uiScaleFilePath)
|
||||
tryEnableThreadedRenderer()
|
||||
initializeOpenGL()
|
||||
|
||||
let imageCert = imageServerTLSCert()
|
||||
installSelfSignedCertificate(imageCert)
|
||||
|
@ -174,9 +175,6 @@ proc mainProc() =
|
|||
if singletonInstance.localAppSettings.getLanguage() != DEFAULT_LAS_KEY_LANGUAGE:
|
||||
singletonInstance.localAppSettings.setLanguage(DEFAULT_LAS_KEY_LANGUAGE)
|
||||
|
||||
# Required by the WalletConnectSDK view right after creating the QGuiApplication instance
|
||||
initializeWebView()
|
||||
|
||||
let singleInstance = newSingleInstance($toMD5(DATADIR), openUri)
|
||||
let urlSchemeEvent = newStatusUrlSchemeEventObject()
|
||||
# init url manager before app controller
|
||||
|
|
Loading…
Reference in New Issue