diff --git a/src/gvcore/imageloader.cpp b/src/gvcore/imageloader.cpp index c14de6e..6ab91ef 100644 --- a/src/gvcore/imageloader.cpp +++ b/src/gvcore/imageloader.cpp @@ -884,7 +884,7 @@ void ImageLoader::release( const TQObject* owner ) { } void ImageLoader::ownerDestroyed() { - deref( TQT_TQOBJECT(sender())); + deref( TQT_TQOBJECT(const_cast(sender()))); } //---------------------------------------------------------------------