File fix-folder-properties.patch of Package korganizer
From 868ae0f068cd05f8e77b4f89ceaff21378790e28 Mon Sep 17 00:00:00 2001
From: Laurent Montel <montel@kde.org>
Date: Tue, 27 Mar 2018 11:14:28 +0200
Subject: Fix Bug 392395 - Folder properties does not work
FIXED-IN: 5.8.0
BUG: 392395
---
src/manageshowcollectionproperties.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/manageshowcollectionproperties.cpp b/src/manageshowcollectionproperties.cpp
index f167c85..1aabc74 100644
--- a/src/manageshowcollectionproperties.cpp
+++ b/src/manageshowcollectionproperties.cpp
@@ -54,7 +54,7 @@ void ManageShowCollectionProperties::showCollectionProperties()
Akonadi::CollectionAttributesSynchronizationJob *sync
= new Akonadi::CollectionAttributesSynchronizationJob(col);
sync->setProperty("collectionId", id);
- connect(sync, &KJob::result,
+ connect(sync, &Akonadi::CollectionAttributesSynchronizationJob::result,
this, &ManageShowCollectionProperties::slotCollectionPropertiesContinued);
sync->start();
}
@@ -101,6 +101,5 @@ void ManageShowCollectionProperties::slotCollectionPropertiesFinished(KJob *job)
dlg->show();
mHashDialogBox.insert(collection.id(), dlg);
- delete dlg;
}
}
--
cgit v0.11.2