Verified Commit 26ebf2d1 authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

Set Qt::AA_ShareOpenGLContexts on the QApplication

Fixes one warning from QtWebEngine and probably improves performance
parent d658495c
......@@ -35,6 +35,7 @@
Q_DECL_EXPORT int main(int argc, char *argv[])
{
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication::setAttribute(Qt::AA_ShareOpenGLContexts);
QApplication app(argc, argv);
QCoreApplication::setOrganizationName("KDE");
QCoreApplication::setOrganizationDomain("mobile.kde.org");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment