summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gvcore/imageloader.cpp2
-rw-r--r--src/gvcore/imageviewcontroller.cpp2
2 files changed, 2 insertions, 2 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() );
}
//---------------------------------------------------------------------
diff --git a/src/gvcore/imageviewcontroller.cpp b/src/gvcore/imageviewcontroller.cpp
index f97c847..008b3d4 100644
--- a/src/gvcore/imageviewcontroller.cpp
+++ b/src/gvcore/imageviewcontroller.cpp
@@ -425,7 +425,7 @@ bool ImageViewController::eventFilter(TQObject* object, TQEvent* event) {
bool isAChildOfStack=false;
TQObject* parentObject;
for (parentObject=object->parent(); parentObject; parentObject=parentObject->parent()) {
- if (TQT_BASE_OBJECT(parentObject)==TQT_BASE_OBJECT(d->mStack)) {
+ if (parentObject==d->mStack) {
isAChildOfStack=true;
break;
}