forked from qt-creator/qt-creator
TextEditor: remove senseless function call
updating the info bar only makes sense after trying to set a generic highlighter, otherwise the member capturing the information whether a highlight definition for the current file is available might be uninitialized. Change-Id: I5cce70ecf1df0ba34f43eeb01743c1fae729cc6b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -8574,8 +8574,6 @@ void TextEditorWidget::setupGenericHighlighter()
|
||||
|
||||
connect(textDocument(), &IDocument::filePathChanged,
|
||||
d, &TextEditorWidgetPrivate::reconfigure);
|
||||
|
||||
updateEditorInfoBar(this);
|
||||
}
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user