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
KMail
Commits
2255a5d1
Commit
2255a5d1
authored
Jul 06, 2021
by
Laurent Montel
😁
Browse files
Use std::chrono_literals
parent
7a04d892
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/kmmainwidget.cpp
View file @
2255a5d1
...
...
@@ -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
(
3
s
);
mCheckMailTimer
.
setSingleShot
(
true
);
connect
(
&
mCheckMailTimer
,
&
QTimer
::
timeout
,
this
,
&
KMMainWidget
::
slotUpdateActionsAfterMailChecking
);
...
...
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