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

Use std::chrono_literals

parent 17291966
Pipeline #66805 passed with stage
in 7 minutes and 20 seconds
......@@ -25,6 +25,9 @@
#include <QTextDocumentFragment>
#include <QTextList>
#include <QTimer>
#include <chrono>
using namespace std::chrono_literals;
using namespace KPIMTextEdit;
......@@ -663,7 +666,7 @@ void RichTextComposerControler::ensureCursorVisible()
//
// Delay the actual call to ensureCursorVisible() a bit to work around
// the problem.
QTimer::singleShot(500, richTextComposer()->composerControler(), &RichTextComposerControler::ensureCursorVisibleDelayed);
QTimer::singleShot(500ms, richTextComposer()->composerControler(), &RichTextComposerControler::ensureCursorVisibleDelayed);
}
void RichTextComposerControler::RichTextComposerControlerPrivate::fixupTextEditString(QString &text) const
......
Markdown is supported
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