Skip to content

Commit

Permalink
Updated C++# to fix a crash with QFormLayout.
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitar Dobrev <[email protected]>
  • Loading branch information
ddobrev committed Nov 5, 2015
1 parent dc43593 commit f105b06
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
4.10.2015 - First binary release of QtSharp - https://github.com/ddobrev/QtSharp/releases/tag/0.0.1.
0.0.2 - 5.11.2015
Fixed:
- A crash when using QFormLayout.

0.0.1 - 4.10.2015
- First binary release of QtSharp.
4 changes: 2 additions & 2 deletions QtSharp/Documentation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,9 @@ private void DocumentQtProperty(Declaration property)
{
return;
}

var qualifiedName = property.GetQualifiedName(decl => decl.OriginalName, decl => decl.Namespace);
var node = this.propertyNodes[property.Name].Find(
c => c.Attribute("fullname").Value == property.QualifiedOriginalName);
c => c.Attribute("fullname").Value == qualifiedName);
if (node != null && node.Attribute("href") != null)
{
var link = node.Attribute("href").Value.Split('#');
Expand Down

0 comments on commit f105b06

Please sign in to comment.