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

Use std::chrono_literals

parent 2d649d05
Pipeline #76643 passed with stage
in 5 minutes and 3 seconds
......@@ -22,6 +22,9 @@
#include <KLocalizedString>
#include <QCommandLineOption>
#include <QCommandLineParser>
#include <chrono>
using namespace std::chrono_literals;
using namespace Akonadi;
......@@ -49,7 +52,7 @@ HeadFetcher::HeadFetcher(bool multipart)
}
qDebug() << "Took:" << timer.elapsed() << "ms.";
QTimer::singleShot(1000, this, &HeadFetcher::stop);
QTimer::singleShot(1s, this, &HeadFetcher::stop);
}
void HeadFetcher::stop()
......
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