summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imageviewcontroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/imageviewcontroller.cpp')
-rw-r--r--src/gvcore/imageviewcontroller.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gvcore/imageviewcontroller.cpp b/src/gvcore/imageviewcontroller.cpp
index 1ec4218..992a961 100644
--- a/src/gvcore/imageviewcontroller.cpp
+++ b/src/gvcore/imageviewcontroller.cpp
@@ -424,9 +424,9 @@ bool ImageViewController::eventFilter(TQObject* object, TQEvent* event) {
// Check we must filter this object. This is an application filter, so we
// have to check we are not dealing with another object.
bool isAChildOfStack=false;
- TQObject* tqparentObject;
- for (tqparentObject=object->tqparent(); tqparentObject; tqparentObject=tqparentObject->tqparent()) {
- if (TQT_BASE_OBJECT(tqparentObject)==TQT_BASE_OBJECT(d->mStack)) {
+ TQObject* parentObject;
+ for (parentObject=object->tqparent(); parentObject; parentObject=parentObject->tqparent()) {
+ if (TQT_BASE_OBJECT(parentObject)==TQT_BASE_OBJECT(d->mStack)) {
isAChildOfStack=true;
break;
}