Commit 2f3d52e4 authored by Laurent Montel's avatar Laurent Montel
Browse files

USe std::chrono_literals here

parent 2b06af16
Pipeline #230836 failed with stage
in 8 minutes and 30 seconds
......@@ -38,6 +38,8 @@
#if HAVE_TEXT_TO_SPEECH_SUPPORT
#include <QTextToSpeech>
#endif
using namespace std::chrono_literals;
#include <chrono>
using namespace Akonadi;
......@@ -81,7 +83,7 @@ NewMailNotifierAgent::NewMailNotifierAgent(const QString &id)
changeRecorder()->ignoreSession(Akonadi::Session::defaultSession());
changeRecorder()->collectionFetchScope().setAncestorRetrieval(Akonadi::CollectionFetchScope::All);
changeRecorder()->setCollectionMonitored(Collection::root(), true);
mTimer.setInterval(5000); // 5secondes
mTimer.setInterval(5s); // 5secondes
connect(&mTimer, &QTimer::timeout, this, &NewMailNotifierAgent::slotShowNotifications);
if (isActive()) {
......
Supports Markdown
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