[neon/kde/incidenceeditor/Neon/unstable] debian/patches: dont crash korganizer

Carlos De Maine null at kde.org
Wed Mar 11 05:12:05 GMT 2026


Git commit 4a53ce08bd07a701260256fa6e83ca742b889649 by Carlos De Maine.
Committed on 11/03/2026 at 05:11.
Pushed by carlosdem into branch 'Neon/unstable'.

dont crash korganizer

A  +22   -0    debian/patches/neon_dont_crash_korg.diff
M  +1    -0    debian/patches/series

https://invent.kde.org/neon/kde/incidenceeditor/-/commit/4a53ce08bd07a701260256fa6e83ca742b889649

diff --git a/debian/patches/neon_dont_crash_korg.diff b/debian/patches/neon_dont_crash_korg.diff
new file mode 100644
index 0000000..7fc373e
--- /dev/null
+++ b/debian/patches/neon_dont_crash_korg.diff
@@ -0,0 +1,22 @@
+diff --git a/src/incidenceattendee.cpp b/src/incidenceattendee.cpp
+index 0f52f3e..377d33f 100644
+--- a/src/incidenceattendee.cpp
++++ b/src/incidenceattendee.cpp
+@@ -240,11 +240,12 @@ bool IncidenceAttendee::isDirty() const
+     if (iAmOrganizer()) {
+         KCalendarCore::Event tmp;
+         tmp.setOrganizer(mUi->mOrganizerCombo->currentText());
+-
+-        if (mLoadedIncidence->organizer().email() != tmp.organizer().email()) {
+-            qCDebug(INCIDENCEEDITOR_LOG) << "Organizer changed. Old was " << mLoadedIncidence->organizer().name() << mLoadedIncidence->organizer().email()
+-                                         << "; new is " << tmp.organizer().name() << tmp.organizer().email();
+-            return true;
++        if (!mLoadedIncidence->organizer().email().isEmpty()) {
++            if (mLoadedIncidence->organizer().email() != tmp.organizer().email()) {
++                qCDebug(INCIDENCEEDITOR_LOG) << "Organizer changed. Old was " << mLoadedIncidence->organizer().name() << mLoadedIncidence->organizer().email()
++                                             << "; new is " << tmp.organizer().name() << tmp.organizer().email();
++                return true;
++            }
+         }
+     }
+ 
diff --git a/debian/patches/series b/debian/patches/series
index c04b058..e0bf776 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 neon_qsignalblocker.diff
+neon_dont_crash_korg.diff


More information about the Neon-commits mailing list