From 87b8d6710e9853475531d60bdbf6fafa7ce70d30 Mon Sep 17 00:00:00 2001 From: James Graham Date: Fri, 27 Oct 2023 16:13:22 +0000 Subject: [PATCH] Update Kirigami PlatformTheme Update Kirigami PlatformTheme to new path. --- src/texthandler.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) {