summaryrefslogtreecommitdiffstats
path: root/konqueror/konq_factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konqueror/konq_factory.cpp')
-rw-r--r--konqueror/konq_factory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/konqueror/konq_factory.cpp b/konqueror/konq_factory.cpp
index e35f5b7c7..0a69c1c8c 100644
--- a/konqueror/konq_factory.cpp
+++ b/konqueror/konq_factory.cpp
@@ -64,10 +64,10 @@ KParts::ReadOnlyPart *KonqViewFactory::create( TQWidget *parentWidget, const cha
else
{
if ( m_createBrowser )
- obj = m_factory->create( TQT_TQOBJECT(parentWidget), name, "Browser/View", m_args );
+ obj = m_factory->create( parentWidget, name, "Browser/View", m_args );
if ( !obj )
- obj = m_factory->create( TQT_TQOBJECT(parentWidget), name, "KParts::ReadOnlyPart", m_args );
+ obj = m_factory->create( parentWidget, name, "KParts::ReadOnlyPart", m_args );
}
if ( !obj->inherits( "KParts::ReadOnlyPart" ) )