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

USe std::chrono_literals

parent 63a0768b
Pipeline #75430 passed with stage
in 5 minutes and 8 seconds
......@@ -14,6 +14,9 @@
#include <QKeyEvent>
#include <QTimer>
#include <QVBoxLayout>
#include <chrono>
using namespace std::chrono_literals;
QuickSearchWidget::QuickSearchWidget(QWidget *parent)
: QWidget(parent)
......@@ -57,7 +60,7 @@ void QuickSearchWidget::slotFocusQuickSearch()
void QuickSearchWidget::resetTimer()
{
mTimer->stop();
mTimer->start(500);
mTimer->start(500ms);
}
void QuickSearchWidget::delayedTextChanged()
......
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