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

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


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

kcrash.diff

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

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

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