diff options
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 ))); } }; |