Update Kirigami PlatformTheme
Update Kirigami PlatformTheme to new path.
This commit is contained in:
committed by
Tobias Fella
parent
965b890346
commit
87b8d6710e
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include <cmark.h>
|
#include <cmark.h>
|
||||||
|
|
||||||
#include <Kirigami/PlatformTheme>
|
#include <Kirigami/Platform/PlatformTheme>
|
||||||
|
|
||||||
#include "utils.h"
|
#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"))
|
bool isEdited = !e->unsignedJson().isEmpty() && e->unsignedJson().contains(QStringLiteral("m.relations"))
|
||||||
&& e->unsignedJson()[QStringLiteral("m.relations")].toObject().contains(QStringLiteral("m.replace"));
|
&& e->unsignedJson()[QStringLiteral("m.relations")].toObject().contains(QStringLiteral("m.replace"));
|
||||||
if (isEdited) {
|
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;
|
QString editTextColor;
|
||||||
if (theme != nullptr) {
|
if (theme != nullptr) {
|
||||||
|
|||||||
Reference in New Issue
Block a user