CppEditor: Do not reimplement BaseTextEditorWidget::setMimeType
It's not necessary, since we have signals for that. And it's wrong to
handle the additional preprocessor directives there anyway.
The update if the editor supports objective-c/c++ is now done in a
mimeTypeChanged signal handler, the update of the additional
preprocessor directives on filePathChanged.
Change-Id: If88c70f5321c2bc21a21673e96be2598dc9ecf04
Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
Please register or sign in to comment