summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imageloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/imageloader.cpp')
-rw-r--r--src/gvcore/imageloader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gvcore/imageloader.cpp b/src/gvcore/imageloader.cpp
index 8b2c546..bb5d68c 100644
--- a/src/gvcore/imageloader.cpp
+++ b/src/gvcore/imageloader.cpp
@@ -883,7 +883,7 @@ void ImageLoader::release( const TQObject* owner ) {
}
void ImageLoader::ownerDestroyed() {
- deref( TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender())));
+ deref( sender() );
}
//---------------------------------------------------------------------