diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2016-04-13 15:52:14 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2016-04-15 09:40:53 +0000 |
commit | 95ac4edfd4276c73f0304651fe032d511a5a7c16 (patch) | |
tree | c1ebcef6ecff1292f9fa670111c39043b0f67837 /src/plugins/projectexplorer/extracompiler.cpp | |
parent | 79da8a45860940f98333517c60ac388cc0b1af3a (diff) |
Projectexplorer: Modernize codebase
Change-Id: I4793b58aa77bcd46af99f8b843c0f7439cdc9269
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
Reviewed-by: Vikas Pachdha <vikas.pachdha@theqtcompany.com>
Diffstat (limited to 'src/plugins/projectexplorer/extracompiler.cpp')
-rw-r--r-- | src/plugins/projectexplorer/extracompiler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/extracompiler.cpp b/src/plugins/projectexplorer/extracompiler.cpp index 605e24252e..77f9961e2a 100644 --- a/src/plugins/projectexplorer/extracompiler.cpp +++ b/src/plugins/projectexplorer/extracompiler.cpp @@ -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; |