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
KPimTextEdit
Commits
f98c2e6f
Commit
f98c2e6f
authored
Jun 20, 2021
by
Laurent Montel
😁
Browse files
Use std::chrono_literals
parent
17291966
Pipeline
#66805
passed with stage
in 7 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/composer-ng/richtextcomposercontroler.cpp
View file @
f98c2e6f
...
...
@@ -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
(
500
ms
,
richTextComposer
()
->
composerControler
(),
&
RichTextComposerControler
::
ensureCursorVisibleDelayed
);
}
void
RichTextComposerControler
::
RichTextComposerControlerPrivate
::
fixupTextEditString
(
QString
&
text
)
const
...
...
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