forked from qt-creator/qt-creator
C++: Disable "Replace Dot for Arrow" auto-correction for ObjC sources
In the light of Obj-C properties this seems to annoy more than to help. Change-Id: I48f92d505035369f48e8798d0972ef00306bdde0 Reviewed-by: Eike Ziller <eike.ziller@digia.com> Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
@@ -1621,7 +1621,8 @@ TextEditor::IAssistInterface *CPPEditorWidget::createAssistInterface(
|
||||
if (cap) {
|
||||
return cap->createAssistInterface(
|
||||
ProjectExplorer::ProjectExplorerPlugin::currentProject(),
|
||||
editor(), document(), position(), reason);
|
||||
editor(), document(), cppEditorDocument()->isObjCEnabled(), position(),
|
||||
reason);
|
||||
}
|
||||
} else if (kind == TextEditor::QuickFix) {
|
||||
if (!semanticInfo().doc || isOutdated())
|
||||
|
||||
Reference in New Issue
Block a user