diff --git a/src/texthandler.cpp b/src/texthandler.cpp index 040a09bfd..ea6a89f88 100644 --- a/src/texthandler.cpp +++ b/src/texthandler.cpp @@ -14,7 +14,7 @@ #include -#include +#include #include "utils.h" @@ -153,7 +153,8 @@ QString TextHandler::handleRecieveRichText(Qt::TextFormat inputFormat, const Neo bool isEdited = !e->unsignedJson().isEmpty() && e->unsignedJson().contains(QStringLiteral("m.relations")) && e->unsignedJson()[QStringLiteral("m.relations")].toObject().contains(QStringLiteral("m.replace")); if (isEdited) { - Kirigami::PlatformTheme *theme = static_cast(qmlAttachedPropertiesObject(this, true)); + Kirigami::Platform::PlatformTheme *theme = + static_cast(qmlAttachedPropertiesObject(this, true)); QString editTextColor; if (theme != nullptr) {