Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KDE PIM Runtime
Commits
1a31938b
Commit
1a31938b
authored
Aug 17, 2021
by
Laurent Montel
😁
Browse files
USe std::chrono_literals
parent
0ed06d1e
Pipeline
#75433
failed with stage
in 2 minutes and 53 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
agents/maildispatcher/outboxqueue.cpp
View file @
1a31938b
...
...
@@ -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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment