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 @@ ...@@ -35,6 +35,7 @@
Q_DECL_EXPORT int main(int argc, char *argv[]) Q_DECL_EXPORT int main(int argc, char *argv[])
{ {
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication app(argc, argv); QApplication app(argc, argv);
QCoreApplication::setOrganizationName("KDE"); QCoreApplication::setOrganizationName("KDE");
QCoreApplication::setOrganizationDomain(""); QCoreApplication::setOrganizationDomain("");
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