Commit 2255a5d1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use std::chrono_literals

parent 7a04d892
......@@ -180,6 +180,9 @@
#ifdef WITH_KUSERFEEDBACK
#include <KUserFeedback/NotificationPopup>
#include <KUserFeedback/Provider>
#include <chrono>
using namespace std::chrono_literals;
#endif
using namespace KMime;
......@@ -319,7 +322,7 @@ KMMainWidget::KMMainWidget(QWidget *parent, KXMLGUIClient *aGUIClient, KActionCo
// must be the last line of the constructor:
mStartupDone = true;
mCheckMailTimer.setInterval(3 * 1000);
mCheckMailTimer.setInterval(3s);
mCheckMailTimer.setSingleShot(true);
connect(&mCheckMailTimer, &QTimer::timeout, this, &KMMainWidget::slotUpdateActionsAfterMailChecking);
......
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