diff options
Diffstat (limited to 'tdeparts/factory.cpp')
-rw-r--r-- | tdeparts/factory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeparts/factory.cpp b/tdeparts/factory.cpp index ce758288b..0b7d1c84c 100644 --- a/tdeparts/factory.cpp +++ b/tdeparts/factory.cpp @@ -77,6 +77,6 @@ Part *Factory::createPartObject( TQWidget *, const char *, TQObject *, const cha TQObject *Factory::createObject( TQObject *parent, const char *name, const char *classname, const TQStringList &args ) { assert( !parent || parent->isWidgetType() ); - return createPart( TQT_TQWIDGET( parent ), name, parent, name, classname, args ); + return createPart( static_cast<TQWidget*>( parent ), name, parent, name, classname, args ); } #include "factory.moc" |