forked from qt-creator/qt-creator
CppEditor: Move isObjC property to document.
Change-Id: I2267c69001da6bc136d26d874331dd734c8693f5 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -1388,7 +1388,7 @@ void ConvertCStringToNSString::match(const CppQuickFixInterface &interface,
|
||||
{
|
||||
CppRefactoringFilePtr file = interface->currentFile();
|
||||
|
||||
if (!interface->editor()->isObjCEnabled())
|
||||
if (!interface->editor()->cppEditorDocument()->isObjCEnabled())
|
||||
return;
|
||||
|
||||
WrapStringLiteral::Type type = WrapStringLiteral::TypeNone;
|
||||
|
||||
Reference in New Issue
Block a user