summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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<TQT_BASE_OBJECT_NAME*>(sender())));
}
//---------------------------------------------------------------------