diff options
Diffstat (limited to 'kde-apps/ark/files')
-rw-r--r-- | kde-apps/ark/files/ark-16.12.1-fix-crash.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/kde-apps/ark/files/ark-16.12.1-fix-crash.patch b/kde-apps/ark/files/ark-16.12.1-fix-crash.patch new file mode 100644 index 000000000000..b416783de684 --- /dev/null +++ b/kde-apps/ark/files/ark-16.12.1-fix-crash.patch @@ -0,0 +1,21 @@ +commit b5e59a044d392ede62af23076bbf0a154d00bf60 +Author: Elvis Angelaccio <elvis.angelaccio@kde.org> +Date: Fri Jan 13 16:14:35 2017 +0100 + + Stop crashing when loading the konqueror's webengine part + + QtWebEngine requires this attribute set before the QGuiApplication + instance is created. + +diff --git a/app/main.cpp b/app/main.cpp +index d375d79..d3a60b1 100644 +--- a/app/main.cpp ++++ b/app/main.cpp +@@ -42,6 +42,7 @@ using Kerfuffle::AddToArchive; + + int main(int argc, char **argv) + { ++ QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts); // Required for the webengine part. + QApplication application(argc, argv); + + /** |