forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/8.0'
Reverts/comments out parts of 45f93a817a,
which needs to be resolved in a follow-up commit.
Conflicts:
cmake/QtCreatorIDEBranding.cmake
qbs/modules/qtc/qtc.qbs
qtcreator_ide_branding.pri
share/qtcreator/qml/qmlpuppet/qml2puppet/instances/qt5informationnodeinstanceserver.cpp
src/plugins/clangcodemodel/clangmodelmanagersupport.cpp
src/plugins/cmakeprojectmanager/cmakesettingspage.cpp
src/plugins/python/pythoneditor.cpp
src/plugins/qmldesigner/designercore/instances/nodeinstanceview.cpp
src/plugins/scxmleditor/common/colorsettings.cpp
Change-Id: I7f0f7b7120e75a9fc3a8886bc57c17345cbb501b
This commit is contained in:
@@ -5247,10 +5247,12 @@ ExtractFunction::ExtractFunction(FunctionNameGetter functionNameGetter)
|
||||
void ExtractFunction::match(const CppQuickFixInterface &interface, QuickFixOperations &result)
|
||||
{
|
||||
const CppRefactoringFilePtr file = interface.currentFile();
|
||||
if (CppModelManager::usesClangd(file->editor()->textDocument())
|
||||
&& file->cppDocument()->languageFeatures().cxxEnabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO: Fix upstream and uncomment; see QTCREATORBUG-28030.
|
||||
// if (CppModelManager::usesClangd(file->editor()->textDocument())
|
||||
// && file->cppDocument()->languageFeatures().cxxEnabled) {
|
||||
// return;
|
||||
// }
|
||||
|
||||
QTextCursor cursor = file->cursor();
|
||||
if (!cursor.hasSelection())
|
||||
|
||||
Reference in New Issue
Block a user