Commit fa800b04 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Const'ify pointer

parent 0da8ff91
Pipeline #72977 passed with stage
in 14 minutes and 31 seconds
......@@ -23,10 +23,10 @@
SendLaterManager::SendLaterManager(QObject *parent)
: QObject(parent)
, mTimer(new QTimer(this))
, mSender(new MessageComposer::AkonadiSender)
{
mConfig = SendLaterUtil::defaultConfig();
mTimer = new QTimer(this);
connect(mTimer, &QTimer::timeout, this, &SendLaterManager::slotCreateJob);
}
......
......@@ -68,7 +68,7 @@ private:
QList<MessageComposer::SendLaterInfo *> mListSendLaterInfo;
MessageComposer::SendLaterInfo *mCurrentInfo = nullptr;
SendLaterJob *mCurrentJob = nullptr;
QTimer *mTimer = nullptr;
QTimer *const mTimer;
MessageComposer::AkonadiSender *const mSender;
QQueue<Akonadi::Item::Id> mSendLaterQueue;
};
......
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