aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/beautifier/beautifier.qbs
diff options
context:
space:
mode:
authorAlexis Murzeau <amubtdx@gmail.com>2020-06-04 13:07:52 +0200
committerAlexis Murzeau <amubtdx@gmail.com>2020-06-05 08:18:08 +0000
commitdf703b8a5a5420b68e4a8c6dbe19187312d875db (patch)
treead53f3cde9347526e7179c19fda0902282785634 /src/plugins/beautifier/beautifier.qbs
parent461319954882f25743a78e747cfb27805726aa20 (diff)
Beautifier: Remove dependency on CppEditor and DiffEditor
Beautifier plugin depends on CppEditor and DiffEditor at the project level, but it does not require them to be built and used. There is also unused includes to "cppeditor/cppeditorconstants.h". So this commit remove the unused includes (which makes Beautifier not use any of CppEditor code) and the dependencies on CppEditor and DiffEditor. This allow the user to disable CppEditor plugin and use LSP instead with the basic TextEditor. Change-Id: If83f30e754746f1635934e5f952bf9254e83c42f Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/beautifier/beautifier.qbs')
-rw-r--r--src/plugins/beautifier/beautifier.qbs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/beautifier/beautifier.qbs b/src/plugins/beautifier/beautifier.qbs
index 1a71cb00989..c308e06cb8a 100644
--- a/src/plugins/beautifier/beautifier.qbs
+++ b/src/plugins/beautifier/beautifier.qbs
@@ -7,8 +7,6 @@ QtcPlugin {
Depends { name: "Qt.xml" }
Depends { name: "Utils" }
Depends { name: "Core" }
- Depends { name: "CppEditor" }
- Depends { name: "DiffEditor" }
Depends { name: "TextEditor" }
Depends { name: "ProjectExplorer" }