Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KAddressBook
Commits
68316021
Commit
68316021
authored
Aug 17, 2021
by
Laurent Montel
😁
Browse files
USe std::chrono_literals
parent
63a0768b
Pipeline
#75430
passed with stage
in 5 minutes and 8 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/widgets/quicksearchwidget.cpp
View file @
68316021
...
...
@@ -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
(
500
ms
);
}
void
QuickSearchWidget
::
delayedTextChanged
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment