diff options
Diffstat (limited to 'kparts')
-rw-r--r-- | kparts/componentfactory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kparts/componentfactory.h b/kparts/componentfactory.h index 82dd0ab9f..80661b191 100644 --- a/kparts/componentfactory.h +++ b/kparts/componentfactory.h @@ -66,7 +66,7 @@ namespace KParts T::tqstaticMetaObject()->className(), args ); - T *result = dynamic_cast<T *>( object ); + T *result = dynamic_cast<T *>( static_cast<TQT_BASE_OBJECT_NAME*>(object) ); if ( !result ) delete object; return result; |