Skip to content
GitLab
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
a9f119df
Commit
a9f119df
authored
Dec 26, 2021
by
Laurent Montel
Browse files
Add missing includes + fix convertion QChar (qt6 build)
parent
598242f4
Pipeline
#114408
passed with stage
in 2 minutes and 19 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/composer-ng/richtextcomposeractions.cpp
View file @
a9f119df
...
...
@@ -13,6 +13,7 @@
#include
<KFontSizeAction>
#include
<KLocalizedString>
#include
<KToggleAction>
#include
<QActionGroup>
#include
<QTextCharFormat>
#include
<QTextList>
...
...
src/composer-ng/richtextcomposercontroler.cpp
View file @
a9f119df
...
...
@@ -21,6 +21,7 @@
#include
<QColorDialog>
#include
<QIcon>
#include
<QPointer>
#include
<QRegExp>
#include
<QTextBlock>
#include
<QTextDocumentFragment>
#include
<QTextList>
...
...
@@ -672,7 +673,7 @@ void RichTextComposerControler::RichTextComposerControlerPrivate::fixupTextEditS
// Get rid of embedded images, see QTextImageFormat documentation:
// "Inline images are represented by an object replacement character (0xFFFC in Unicode) "
text
.
remove
(
0xFFFC
);
text
.
remove
(
QChar
(
0xFFFC
)
)
;
// In plaintext mode, each space is non-breaking.
text
.
replace
(
QChar
::
Nbsp
,
QChar
::
fromLatin1
(
' '
));
...
...
src/texteditor/plaintexteditor/plaintexteditor.cpp
View file @
a9f119df
...
...
@@ -15,6 +15,7 @@
#include
<KSharedConfig>
#include
<KStandardAction>
#include
<KStandardGuiItem>
#include
<QActionGroup>
#include
<QIcon>
#include
"texttospeech/texttospeech.h"
...
...
src/texteditor/richtexteditor/richtexteditor.cpp
View file @
a9f119df
...
...
@@ -16,6 +16,7 @@
#include
<KSharedConfig>
#include
<KStandardAction>
#include
<KStandardGuiItem>
#include
<QActionGroup>
#include
<QIcon>
#include
<KIO/KUriFilterSearchProviderActions>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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