Commit a9f119df authored by Laurent Montel's avatar 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
......@@ -13,6 +13,7 @@
#include <KFontSizeAction>
#include <KLocalizedString>
#include <KToggleAction>
#include <QActionGroup>
#include <QTextCharFormat>
#include <QTextList>
......
......@@ -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(' '));
......
......@@ -15,6 +15,7 @@
#include <KSharedConfig>
#include <KStandardAction>
#include <KStandardGuiItem>
#include <QActionGroup>
#include <QIcon>
#include "texttospeech/texttospeech.h"
......
......@@ -16,6 +16,7 @@
#include <KSharedConfig>
#include <KStandardAction>
#include <KStandardGuiItem>
#include <QActionGroup>
#include <QIcon>
#include <KIO/KUriFilterSearchProviderActions>
......
Supports Markdown
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