Commit 4f9a407c authored by Laurent Montel's avatar Laurent Montel 😁

normalize signal/slot

parent c46b7453
...@@ -235,8 +235,8 @@ void IncidenceViewer::itemChanged(const Akonadi::Item &item) ...@@ -235,8 +235,8 @@ void IncidenceViewer::itemChanged(const Akonadi::Item &item)
} }
if (d->mParentCollectionFetchJob) { if (d->mParentCollectionFetchJob) {
disconnect(d->mParentCollectionFetchJob, SIGNAL(result(KJob *)), this, disconnect(d->mParentCollectionFetchJob, SIGNAL(result(KJob*)), this,
SLOT(slotParentCollectionFetched(KJob *))); SLOT(slotParentCollectionFetched(KJob*)));
delete d->mParentCollectionFetchJob; delete d->mParentCollectionFetchJob;
} }
...@@ -244,8 +244,8 @@ void IncidenceViewer::itemChanged(const Akonadi::Item &item) ...@@ -244,8 +244,8 @@ void IncidenceViewer::itemChanged(const Akonadi::Item &item)
= new Akonadi::CollectionFetchJob(d->mCurrentItem.parentCollection(), = new Akonadi::CollectionFetchJob(d->mCurrentItem.parentCollection(),
Akonadi::CollectionFetchJob::Base, this); Akonadi::CollectionFetchJob::Base, this);
connect(d->mParentCollectionFetchJob, SIGNAL(result(KJob *)), this, connect(d->mParentCollectionFetchJob, SIGNAL(result(KJob*)), this,
SLOT(slotParentCollectionFetched(KJob *))); SLOT(slotParentCollectionFetched(KJob*)));
} }
void IncidenceViewer::itemRemoved() void IncidenceViewer::itemRemoved()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment