deepin-editor/0001-fix-broken-KF5-include-path.patch

50 lines
1.6 KiB
Diff
Raw Normal View History

2022-07-28 17:20:39 +08:00
From 6373d9af2b9f1660102fa46a139f42ef56f7d330 Mon Sep 17 00:00:00 2001
From: loong ci <loong_c@yeah.net>
Date: Wed, 27 Jul 2022 09:18:09 +0800
Subject: [PATCH] fix: broken KF5 include path
---
src/editor/dtextedit.cpp | 6 +++---
src/editor/showflodcodewidget.h | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/editor/dtextedit.cpp b/src/editor/dtextedit.cpp
index 64a51e1..3a6ddda 100644
--- a/src/editor/dtextedit.cpp
+++ b/src/editor/dtextedit.cpp
@@ -33,9 +33,9 @@
#include "insertblockbytextcommond.h"
-#include <KF5/KSyntaxHighlighting/definition.h>
-#include <KF5/KSyntaxHighlighting/syntaxhighlighter.h>
-#include <KF5/KSyntaxHighlighting/theme.h>
+#include <KSyntaxHighlighting/definition.h>
+#include <KSyntaxHighlighting/syntaxhighlighter.h>
+#include <KSyntaxHighlighting/theme.h>
#include <QAbstractTextDocumentLayout>
#include <QTextDocumentFragment>
diff --git a/src/editor/showflodcodewidget.h b/src/editor/showflodcodewidget.h
index def67ad..5d2e5b7 100644
--- a/src/editor/showflodcodewidget.h
+++ b/src/editor/showflodcodewidget.h
@@ -23,10 +23,10 @@
#include <DFrame>
#include <DPlainTextEdit>
#include <DApplicationHelper>
-#include <KF5/KSyntaxHighlighting/repository.h>
-#include <KF5/KSyntaxHighlighting/definition.h>
-#include <KF5/KSyntaxHighlighting/syntaxhighlighter.h>
-#include <KF5/KSyntaxHighlighting/theme.h>
+#include <KSyntaxHighlighting/repository.h>
+#include <KSyntaxHighlighting/definition.h>
+#include <KSyntaxHighlighting/syntaxhighlighter.h>
+#include <KSyntaxHighlighting/theme.h>
DWIDGET_USE_NAMESPACE
--
2.20.1