summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergio Martins <[email protected]>2015-08-09 18:48:08 +0100
committerSergio Martins <[email protected]>2015-08-09 18:48:08 +0100
commitde36f55db1980be8eaf4830b6c17d84d8f10c68b (patch)
treedeb28fb31b45f040fb089d06af458dcec0e91284
parent1ba36003a028ff91e0242eafa07c321e54444d32 (diff)
Port to new connect style
-rw-r--r--resources/shared/singlefileresource/singlefileresourcebase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/shared/singlefileresource/singlefileresourcebase.cpp b/resources/shared/singlefileresource/singlefileresourcebase.cpp
index 6ddfcf9..ce979c6 100644
--- a/resources/shared/singlefileresource/singlefileresourcebase.cpp
+++ b/resources/shared/singlefileresource/singlefileresourcebase.cpp
@@ -48,7 +48,7 @@ SingleFileResourceBase::SingleFileResourceBase(const QString &id)
changeRecorder()->itemFetchScope().fetchFullPayload();
changeRecorder()->fetchCollection(true);
- connect(changeRecorder(), SIGNAL(changesAdded()), SLOT(scheduleWrite()));
+ connect(changeRecorder(), &ChangeRecorder::changesAdded, this, &SingleFileResourceBase::scheduleWrite);
connect(KDirWatch::self(), &KDirWatch::dirty, this, &SingleFileResourceBase::fileChanged);
connect(KDirWatch::self(), &KDirWatch::created, this, &SingleFileResourceBase::fileChanged);