summaryrefslogtreecommitdiffstats
path: root/tdeutils/tdecmoduleloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeutils/tdecmoduleloader.cpp')
-rw-r--r--tdeutils/tdecmoduleloader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeutils/tdecmoduleloader.cpp b/tdeutils/tdecmoduleloader.cpp
index 174226ed2..907060ec7 100644
--- a/tdeutils/tdecmoduleloader.cpp
+++ b/tdeutils/tdecmoduleloader.cpp
@@ -72,7 +72,7 @@ TDECModule* TDECModuleLoader::load(const TDECModuleInfo &mod, const TQString &li
KLibFactory *factory = lib->factory();
if ( factory )
{
- TDECModule *module = KParts::ComponentFactory::createInstanceFromFactory<TDECModule>( factory, TQT_TQOBJECT(parent), name ? name : mod.handle().latin1(), args );
+ TDECModule *module = KParts::ComponentFactory::createInstanceFromFactory<TDECModule>( factory, parent, name ? name : mod.handle().latin1(), args );
if (module)
return module;
}