aboutsummaryrefslogtreecommitdiffstats
path: root/abstractmetabuilder.cpp
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-05-19 14:44:16 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-09 19:10:02 -0300
commit63d79a46e11ecf046d74e58669744c9af18f9ed8 (patch)
tree97152fa22f32f68a82c122fa1360e5cec1d04594 /abstractmetabuilder.cpp
parentea82a7c78ebd0ecfb5f7f771cc5cd777e06b3d5c (diff)
When the class is a alias for a template class, proper rename their constructors.
Diffstat (limited to 'abstractmetabuilder.cpp')
-rw-r--r--abstractmetabuilder.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/abstractmetabuilder.cpp b/abstractmetabuilder.cpp
index 5bb22afc..4fb164cc 100644
--- a/abstractmetabuilder.cpp
+++ b/abstractmetabuilder.cpp
@@ -2243,6 +2243,7 @@ bool AbstractMetaBuilder::inheritTemplate(AbstractMetaClass *subclass,
if (f->isConstructor() && subclass->isTypeAlias()) {
f->setName(subclass->name());
+ f->setOriginalName(subclass->name());
} else if (f->isConstructor()) {
delete f;
continue;