[neon/graphics/optiimage/Neon/unstable_noble] debian/patches: kcrash.diff

Carlos De Maine null at kde.org
Mon Aug 3 08:36:18 BST 2026


Git commit 7e0e162931d53f903cb1454f105de1ff17c9ab0a by Carlos De Maine.
Committed on 03/08/2026 at 07:36.
Pushed by carlosdem into branch 'Neon/unstable_noble'.

kcrash.diff

(cherry picked from commit ad50c24ff4af43c279d252d0287e5d9e603a21fa)

A  +15   -0    debian/patches/kcrash.diff
A  +1    -0    debian/patches/series

https://invent.kde.org/neon/graphics/optiimage/-/commit/7e0e162931d53f903cb1454f105de1ff17c9ab0a

diff --git a/debian/patches/kcrash.diff b/debian/patches/kcrash.diff
new file mode 100644
index 0000000..f53aabb
--- /dev/null
+++ b/debian/patches/kcrash.diff
@@ -0,0 +1,15 @@
+diff --git a/src/main.cpp b/src/main.cpp
+index 4ea8a76..d04c026 100644
+--- a/src/main.cpp
++++ b/src/main.cpp
+@@ -37,6 +37,10 @@ int main(int argc, char *argv[])
+     KAboutData::setApplicationData(about);
+     QGuiApplication::setWindowIcon(QIcon::fromTheme(QStringLiteral("org.kde.optiimage")));
+ 
++#if __has_include("KCrash")
++    KCrash::initialize();
++#endif
++
+     QQmlApplicationEngine engine;
+     QCoro::Qml::registerTypes();
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..038d921
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+kcrash.diff


More information about the Neon-commits mailing list