forked from qt-creator/qt-creator
Projectexplorer: Modernize codebase
Change-Id: I4793b58aa77bcd46af99f8b843c0f7439cdc9269 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com> Reviewed-by: Vikas Pachdha <vikas.pachdha@theqtcompany.com>
This commit is contained in:
@@ -317,8 +317,7 @@ void ExtraCompilerPrivate::updateIssues()
|
||||
if (!lastEditor)
|
||||
return;
|
||||
|
||||
TextEditor::TextEditorWidget *widget =
|
||||
qobject_cast<TextEditor::TextEditorWidget *>(lastEditor->widget());
|
||||
auto widget = qobject_cast<TextEditor::TextEditorWidget *>(lastEditor->widget());
|
||||
if (!widget)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user