Skip to content

Commit f105b06

Browse files
committed
Updated C++# to fix a crash with QFormLayout.
Signed-off-by: Dimitar Dobrev <[email protected]>
1 parent dc43593 commit f105b06

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

CHANGELOG

+6-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
4.10.2015 - First binary release of QtSharp - https://github.com/ddobrev/QtSharp/releases/tag/0.0.1.
1+
0.0.2 - 5.11.2015
2+
Fixed:
3+
- A crash when using QFormLayout.
4+
5+
0.0.1 - 4.10.2015
6+
- First binary release of QtSharp.

QtSharp/Documentation.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -335,9 +335,9 @@ private void DocumentQtProperty(Declaration property)
335335
{
336336
return;
337337
}
338-
338+
var qualifiedName = property.GetQualifiedName(decl => decl.OriginalName, decl => decl.Namespace);
339339
var node = this.propertyNodes[property.Name].Find(
340-
c => c.Attribute("fullname").Value == property.QualifiedOriginalName);
340+
c => c.Attribute("fullname").Value == qualifiedName);
341341
if (node != null && node.Attribute("href") != null)
342342
{
343343
var link = node.Attribute("href").Value.Split('#');

0 commit comments

Comments
 (0)