diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 21:31:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 21:31:21 +0000 |
commit | bf39fe32636a436304bc5c01035ecbcd254afc96 (patch) | |
tree | 385e5cda2aecdaa725d8fa08f34a4292bad5ae48 /kdecore | |
parent | cc2ea0dc76969dc7d2dde0f1f87f6602765fd546 (diff) | |
download | tdelibs-bf39fe32636a436304bc5c01035ecbcd254afc96.tar.gz tdelibs-bf39fe32636a436304bc5c01035ecbcd254afc96.zip |
Fix kdelibs/concretefactory
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1237322 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore')
-rw-r--r-- | kdecore/kgenericfactory.tcc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kdecore/kgenericfactory.tcc b/kdecore/kgenericfactory.tcc index 3d8737635..1ce9a6c70 100644 --- a/kdecore/kgenericfactory.tcc +++ b/kdecore/kgenericfactory.tcc @@ -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 ))); } }; |