Fix kdelibs/concretefactory

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1237322 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent cc2ea0dc76
commit bf39fe3263

@ -180,9 +180,9 @@ namespace KDEPrivate
const char *className,
const TQStringList &args )
{
return ConcreteFactory<Product, ParentType>::create( tqparentWidget, widgetName,
return static_cast<TQObject*>(static_cast<QObject*>(ConcreteFactory<Product, ParentType>::create( tqparentWidget, widgetName,
parent, name, className,
args );
args )));
}
};

Loading…
Cancel
Save