diff options
| author | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2009-07-22 16:10:58 +0200 |
|---|---|---|
| committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2009-07-22 16:10:58 +0200 |
| commit | 45a15057e4b8f7c3de25b77ffc03370141511f8b (patch) | |
| tree | 9d0783237dd32a3543b8ab1ec5ed96ba87d36680 /src/plugins/cppeditor/cpphoverhandler.cpp | |
| parent | f65844b7a126914d1b629d8cdbd2876bb22a0b47 (diff) | |
| download | qt-creator-45a15057e4b8f7c3de25b77ffc03370141511f8b.tar.gz | |
Fixed name of local variable
Diffstat (limited to 'src/plugins/cppeditor/cpphoverhandler.cpp')
| -rw-r--r-- | src/plugins/cppeditor/cpphoverhandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/cppeditor/cpphoverhandler.cpp b/src/plugins/cppeditor/cpphoverhandler.cpp index d2949c1c70..51d1ecdf9c 100644 --- a/src/plugins/cppeditor/cpphoverhandler.cpp +++ b/src/plugins/cppeditor/cpphoverhandler.cpp @@ -285,12 +285,12 @@ void CppHoverHandler::updateHelpIdAndTooltip(TextEditor::ITextEditor *editor, in typeOfExpression.setSnapshot(documents); // We only want to show F1 if the tooltip matches the help id - bool m_showF1 = true; + bool showF1 = true; foreach (Document::DiagnosticMessage m, doc->diagnosticMessages()) { if (m.line() == lineNumber) { m_toolTip = m.text(); - m_showF1 = false; + showF1 = false; break; } } @@ -385,7 +385,7 @@ void CppHoverHandler::updateHelpIdAndTooltip(TextEditor::ITextEditor *editor, in m_toolTip = Qt::escape(m_toolTip); if (!m_helpId.isEmpty() && !m_helpEngine->linksForIdentifier(m_helpId).isEmpty()) { - if (m_showF1) { + if (showF1) { m_toolTip = QString(QLatin1String("<table><tr><td valign=middle><nobr>%1</td>" "<td><img src=\":/cppeditor/images/f1.svg\"></td></tr></table>")) .arg(m_toolTip); |
