summaryrefslogtreecommitdiffstats
path: root/libtdescreensaver/tdescreensaver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdescreensaver/tdescreensaver.cpp')
-rw-r--r--libtdescreensaver/tdescreensaver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtdescreensaver/tdescreensaver.cpp b/libtdescreensaver/tdescreensaver.cpp
index 30120b164..16449c189 100644
--- a/libtdescreensaver/tdescreensaver.cpp
+++ b/libtdescreensaver/tdescreensaver.cpp
@@ -90,7 +90,7 @@ void KScreenSaver::embed( TQWidget *w )
bool KScreenSaver::eventFilter( TQObject *o, TQEvent *e )
{
// make sure events get to the original window owner
- if ( d->owner && TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this) ) {
+ if ( d->owner && o == this ) {
TQApplication::sendEvent( d->owner, e );
return false;
}