Commit 1a31938b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

USe std::chrono_literals

parent 0ed06d1e
Pipeline #75433 failed with stage
in 2 minutes and 53 seconds
......@@ -25,6 +25,9 @@
#include <MailTransportAkonadi/DispatchModeAttribute>
#include <MailTransportAkonadi/SentBehaviourAttribute>
#include <MailTransportAkonadi/TransportAttribute>
#include <chrono>
using namespace std::chrono_literals;
using namespace Akonadi;
using namespace MailTransport;
......@@ -327,7 +330,7 @@ OutboxQueue::OutboxQueue(QObject *parent)
mFutureTimer = new QTimer(this);
connect(mFutureTimer, &QTimer::timeout, this, &OutboxQueue::checkFuture);
mFutureTimer->start(60 * 60 * 1000); // 1 hour
mFutureTimer->start(1h); // 1 hour
}
OutboxQueue::~OutboxQueue()
......
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