aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmljseditor/qmljsquickfix.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2017-12-15 10:36:16 +0100
committerhjk <hjk@qt.io>2017-12-15 11:59:33 +0000
commit6c537b35d5fd9dd38e44550da31943b0c6cb7608 (patch)
treebbf06ef348ebbfcfe80215dd5defa3d5755e0960 /src/plugins/qmljseditor/qmljsquickfix.cpp
parentd47fdb934db48c8f6c6f933509b52ee521235b2c (diff)
TextEditor: Dissolve QuickFixAssistProcessor
... into QuickFixAssistProcessor and QmlJSQuickFixAssistProcessor, by essentially duplicating the class, but moving the actual work to a new a GenericProposal::createProposal(...QuickFixOperations...) Less indirection, and less code in total. Change-Id: I2f8cba970bf587c9cbf04321269a60ed51bfae2a Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/qmljseditor/qmljsquickfix.cpp')
-rw-r--r--src/plugins/qmljseditor/qmljsquickfix.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/qmljseditor/qmljsquickfix.cpp b/src/plugins/qmljseditor/qmljsquickfix.cpp
index 72575ea330..926cf4a476 100644
--- a/src/plugins/qmljseditor/qmljsquickfix.cpp
+++ b/src/plugins/qmljseditor/qmljsquickfix.cpp
@@ -78,11 +78,4 @@ void QmlJSQuickFixFactory::matchingOperations(const QuickFixInterface &interface
match(interface.staticCast<const QmlJSQuickFixAssistInterface>(), result);
}
-QList<TextEditor::QuickFixFactory *> QmlJSQuickFixFactory::qmlJSQuickFixFactories()
-{
- return Utils::filtered(QuickFixFactory::allQuickFixFactories(), [](QuickFixFactory *f) {
- return qobject_cast<QmlJSQuickFixFactory *>(f) != nullptr;
- });
-}
-
} // namespace QmlJSEditor