diff options
author | hjk <hjk@qt.io> | 2017-12-15 10:36:16 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2017-12-15 11:59:33 +0000 |
commit | 6c537b35d5fd9dd38e44550da31943b0c6cb7608 (patch) | |
tree | bbf06ef348ebbfcfe80215dd5defa3d5755e0960 /src/plugins/cppeditor/cppquickfix.cpp | |
parent | d47fdb934db48c8f6c6f933509b52ee521235b2c (diff) | |
download | qt-creator-6c537b35d5fd9dd38e44550da31943b0c6cb7608.tar.gz |
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/cppeditor/cppquickfix.cpp')
-rw-r--r-- | src/plugins/cppeditor/cppquickfix.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/cppeditor/cppquickfix.cpp b/src/plugins/cppeditor/cppquickfix.cpp index ecd6e83fbb..48d8170193 100644 --- a/src/plugins/cppeditor/cppquickfix.cpp +++ b/src/plugins/cppeditor/cppquickfix.cpp @@ -52,10 +52,3 @@ void CppQuickFixFactory::matchingOperations(const QuickFixInterface &interface, return; match(*cppInterface, result); } - -QList<QuickFixFactory *> CppQuickFixFactory::cppQuickFixFactories() -{ - return Utils::filtered(QuickFixFactory::allQuickFixFactories(), [](QuickFixFactory *f) { - return qobject_cast<CppQuickFixFactory *>(f) != nullptr; - }); -} |