[neon/neon-packaging/gitklient/Neon/unstable] debian/patches: Update 0001-test-kcrash.patch
Carlos De Maine
null at kde.org
Fri Jan 27 04:05:00 GMT 2023
Git commit a2d52d5a2e3ac77dc97eee5725cf75820dba3161 by Carlos De Maine.
Committed on 27/01/2023 at 04:04.
Pushed by carlosdem into branch 'Neon/unstable'.
Update 0001-test-kcrash.patch
M +13 -7 debian/patches/0001-test-kcrash.patch
https://invent.kde.org/neon/neon-packaging/gitklient/commit/a2d52d5a2e3ac77dc97eee5725cf75820dba3161
diff --git a/debian/patches/0001-test-kcrash.patch b/debian/patches/0001-test-kcrash.patch
index 4fd6638..74a897c 100644
--- a/debian/patches/0001-test-kcrash.patch
+++ b/debian/patches/0001-test-kcrash.patch
@@ -1,21 +1,27 @@
diff:
-=== modified file 'a/src/gitklient/gui/appwindow.cpp'
---- a/gitklient/src/gui/appwindow.cpp
-+++ b/gitklient/src/gui/appwindow.cpp
-@@ -38,6 +38,7 @@
-
+=== modified file 'a/src/gui/appwindow.cpp'
+--- a/src/gui/appwindow.cpp
++++ b/src/gui/appwindow.cpp
+@@ -38,6 +38,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
+
// KF headers
#include <KActionCollection>
+#include <KCrash>
#include <KLocalizedString>
#include <KMessageBox>
#include <KStandardShortcut>
+ void AppWindow::init()
+ {
+ KCrash::initialize();
+ mGit = Git::Manager::instance();
+ connect(mGit, &Git::Manager::pathChanged, this, &AppWindow::git_pathChanged);
+=== modified file 'a/src/libgitklient/libgitklient_private_export.h'
--- a/src/libgitklient/libgitklient_private_export.h
+++ b/src/libgitklient/libgitklient_private_export.h
@@ -8,6 +8,8 @@
-
+
#include "libgitklient_export.h"
-
+
+KCrash::initialize();
+
/* Classes which are exported only for unit tests */
More information about the Neon-commits
mailing list