Commit 07345bf1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use std::chrono_literals

parent 11bb55b8
Pipeline #150891 failed with stage
in 5 minutes and 53 seconds
......@@ -56,6 +56,9 @@
#include <QMenu>
#include <QPushButton>
#include <QVBoxLayout>
#include <chrono>
using namespace std::chrono_literals;
using namespace KPIM;
using namespace MailCommon;
......@@ -637,7 +640,7 @@ void SearchWindow::scheduleRename(const QString &text)
{
if (!text.isEmpty()) {
mRenameTimer.setSingleShot(true);
mRenameTimer.start(250);
mRenameTimer.start(250ms);
mUi.mSearchFolderOpenBtn->setEnabled(false);
} else {
mRenameTimer.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