Update Kirigami PlatformTheme

Update Kirigami PlatformTheme to new path.
This commit is contained in:
James Graham
2023-10-27 16:13:22 +00:00
committed by Tobias Fella
parent 965b890346
commit 87b8d6710e

View File

@@ -14,7 +14,7 @@
#include <cmark.h>
#include <Kirigami/PlatformTheme>
#include <Kirigami/Platform/PlatformTheme>
#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<Kirigami::PlatformTheme *>(qmlAttachedPropertiesObject<Kirigami::PlatformTheme>(this, true));
Kirigami::Platform::PlatformTheme *theme =
static_cast<Kirigami::Platform::PlatformTheme *>(qmlAttachedPropertiesObject<Kirigami::Platform::PlatformTheme>(this, true));
QString editTextColor;
if (theme != nullptr) {