[neon/kf6/kf6-kglobalaccel/Neon/unstable] debian/patches: kcrash init
    Jonathan Esk-Riddell 
    null at kde.org
       
    Fri Feb 17 13:31:10 GMT 2023
    
    
  
Git commit 80d3566e3c23d43543b405cb644648f55cc37df3 by Jonathan Esk-Riddell.
Committed on 17/02/2023 at 13:31.
Pushed by jriddell into branch 'Neon/unstable'.
kcrash init
A  +12   -0    debian/patches/kcrash
A  +1    -0    debian/patches/series
https://invent.kde.org/neon/kf6/kf6-kglobalaccel/commit/80d3566e3c23d43543b405cb644648f55cc37df3
diff --git a/debian/patches/kcrash b/debian/patches/kcrash
new file mode 100644
index 0000000..13f702b
--- /dev/null
+++ b/debian/patches/kcrash
@@ -0,0 +1,12 @@
+Index: kglobalaccel/src/runtime/main.cpp
+===================================================================
+--- kglobalaccel.orig/src/runtime/main.cpp
++++ kglobalaccel/src/runtime/main.cpp
+@@ -80,6 +80,7 @@ extern "C" Q_DECL_EXPORT int main(int ar
+     app.setQuitOnLastWindowClosed(false);
+ 
+     // Restart on a crash
++    KCrash::initialize();
+     KCrash::setFlags(KCrash::AutoRestart);
+ 
+     KGlobalAccelD globalaccel;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..27b9c3e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+kcrash
    
    
More information about the Neon-commits
mailing list