From 45a15057e4b8f7c3de25b77ffc03370141511f8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= <thorbjorn.lindeijer@nokia.com>
Date: Wed, 22 Jul 2009 16:10:58 +0200
Subject: [PATCH] Fixed name of local variable

---
 src/plugins/cppeditor/cpphoverhandler.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/plugins/cppeditor/cpphoverhandler.cpp b/src/plugins/cppeditor/cpphoverhandler.cpp
index d2949c1c703..51d1ecdf9ce 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);
-- 
GitLab