summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-09-25 23:19:40 +0200
committerMontel Laurent <[email protected]>2017-09-25 23:19:55 +0200
commit16ac4f1267ce32a122bd1a616ca7d0771d6a2716 (patch)
tree95c7808c815167ad3948c8e1b5969a82471ff563
parentcfd4d8e4ecec26fd2dd24083cfd2dc1e35767225 (diff)
Port to new connect api
-rw-r--r--messagecore/src/attachment/attachmentupdatejob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/messagecore/src/attachment/attachmentupdatejob.cpp b/messagecore/src/attachment/attachmentupdatejob.cpp
index 4bdafde..ff2f89d 100644
--- a/messagecore/src/attachment/attachmentupdatejob.cpp
+++ b/messagecore/src/attachment/attachmentupdatejob.cpp
@@ -98,7 +98,7 @@ AttachmentUpdateJob::~AttachmentUpdateJob()
void AttachmentUpdateJob::start()
{
- QTimer::singleShot(0, this, SLOT(doStart()));
+ QTimer::singleShot(0, this, [this]() { d->doStart(); });
}
AttachmentPart::Ptr AttachmentUpdateJob::originalPart() const