Fix crash: 'Failed to create OpenGL context'.

Signed-off-by: allexzander <blackslayer4@gmail.com>
This commit is contained in:
allexzander 2022-08-05 16:29:21 +03:00
parent feffc25683
commit ff0a058f66

View file

@ -58,9 +58,6 @@ void warnSystray()
int main(int argc, char **argv)
{
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-gpu --no-sandbox");
QCoreApplication::setAttribute(Qt::AA_UseSoftwareOpenGL, true);
#ifdef Q_OS_WIN
SetDllDirectory(L"");
#endif