[neon/kde/incidenceeditor/Neon/unstable] debian/patches: update patch

Carlos De Maine null at kde.org
Sat Jun 14 15:23:57 BST 2025


Git commit 1e0416c76aa34e5a4d2df7130f0e6a4d6777f652 by Carlos De Maine.
Committed on 14/06/2025 at 14:23.
Pushed by carlosdem into branch 'Neon/unstable'.

update patch

M  +17   -4    debian/patches/neon_qsignalblocker.diff

https://invent.kde.org/neon/kde/incidenceeditor/-/commit/1e0416c76aa34e5a4d2df7130f0e6a4d6777f652

diff --git a/debian/patches/neon_qsignalblocker.diff b/debian/patches/neon_qsignalblocker.diff
index 03d227e..3f7970d 100644
--- a/debian/patches/neon_qsignalblocker.diff
+++ b/debian/patches/neon_qsignalblocker.diff
@@ -1,17 +1,30 @@
 diff --git a/src/combinedincidenceeditor.cpp b/src/combinedincidenceeditor.cpp
-index fc1122e1a17cfff4f251507c6eb66b396b692688..dcbae165205dea81ec8777d55a0fc2768da65a71 100644
+index fc1122e..4df04c5 100644
 --- a/src/combinedincidenceeditor.cpp
 +++ b/src/combinedincidenceeditor.cpp
-@@ -104,9 +104,10 @@ void CombinedIncidenceEditor::load(const Akonadi::Item &item)
+@@ -79,9 +79,10 @@ void CombinedIncidenceEditor::load(const KCalendarCore::Incidence::Ptr &incidenc
      for (IncidenceEditor *editor : std::as_const(mCombinedEditors)) {
          // load() may fire dirtyStatusChanged(), reset mDirtyEditorCount to make sure
          // we don't end up with an invalid dirty count.
 -        editor->blockSignals(true);
 +        const QSignalBlocker blocker(editor);
-+        // editor->blockSignals(true);
++        //editor->blockSignals(true);
+         editor->load(incidence);
+-        editor->blockSignals(false);
++        //editor->blockSignals(false);
+ 
+         if (editor->isDirty()) {
+             // We are going to crash due to assert. Print some useful info before crashing.
+@@ -104,9 +105,10 @@ void CombinedIncidenceEditor::load(const Akonadi::Item &item)
+     for (IncidenceEditor *editor : std::as_const(mCombinedEditors)) {
+         // load() may fire dirtyStatusChanged(), reset mDirtyEditorCount to make sure
+         // we don't end up with an invalid dirty count.
+-        editor->blockSignals(true);
++        const QSignalBlocker blocker(editor);
++        //editor->blockSignals(true);
          editor->load(item);
 -        editor->blockSignals(false);
-+        // editor->blockSignals(false);
++        //editor->blockSignals(false);
  
          if (editor->isDirty()) {
              // We are going to crash due to assert. Print some useful info before crashing.


More information about the Neon-commits mailing list