diff options
Diffstat (limited to 'src/plugins/cppeditor/cpphoverhandler.cpp')
-rw-r--r-- | src/plugins/cppeditor/cpphoverhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppeditor/cpphoverhandler.cpp b/src/plugins/cppeditor/cpphoverhandler.cpp index 2547b8564d..3959d953f9 100644 --- a/src/plugins/cppeditor/cpphoverhandler.cpp +++ b/src/plugins/cppeditor/cpphoverhandler.cpp @@ -256,7 +256,7 @@ void CppHoverHandler::updateHelpIdAndTooltip(TextEditor::ITextEditor *editor, in const QList<TypeOfExpression::Result> types = typeOfExpression(expression, doc, lastSymbol); - if (!types.isEmpty() && types.first().first) { + if (!types.isEmpty()) { FullySpecifiedType firstType = types.first().first; Symbol *symbol = types.first().second; FullySpecifiedType docType = firstType; |