[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdev-go] duchain/builders: Fix an issue where tooltips sometimes didn't show up
From:       Pavel Petrushkov <onehundredof () gmail ! com>
Date:       2014-09-30 19:59:23
Message-ID: E1XZ3Zz-0000tY-CW () scm ! kde ! org
[Download RAW message or body]

Git commit 6f45a3bf47c972dd36054bbb98962ca660c612dc by Pavel Petrushkov.
Committed on 30/09/2014 at 23:52.
Pushed by pavelp into branch 'master'.

Fix an issue where tooltips sometimes didn't show up

M  +1    -0    duchain/builders/declarationbuilder.cpp

http://commits.kde.org/kdev-go/6f45a3bf47c972dd36054bbb98962ca660c612dc

diff --git a/duchain/builders/declarationbuilder.cpp \
b/duchain/builders/declarationbuilder.cpp index db2b168..dc978f4 100644
--- a/duchain/builders/declarationbuilder.cpp
+++ b/duchain/builders/declarationbuilder.cpp
@@ -115,6 +115,7 @@ void \
DeclarationBuilder::declareVariablesWithType(go::IdentifierAst* id, go::IdL  void \
DeclarationBuilder::declareVariables(go::IdentifierAst* id, go::IdListAst* idList, \
go::ExpressionAst* expression,  go::ExpressionListAst* expressionList, bool \
declareConstant)  {
+    m_contextIdentifier = identifierForNode(id);
     QList<AbstractType::Ptr> types;
     if(!expression)
 	return;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic