summaryrefslogtreecommitdiffstats
path: root/ksquirrel/ksquirrel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksquirrel/ksquirrel.cpp')
-rw-r--r--ksquirrel/ksquirrel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksquirrel/ksquirrel.cpp b/ksquirrel/ksquirrel.cpp
index 5c14ee3..a6030e5 100644
--- a/ksquirrel/ksquirrel.cpp
+++ b/ksquirrel/ksquirrel.cpp
@@ -227,7 +227,7 @@ void KSquirrel::slotOptions()
bool KSquirrel::eventFilter(TQObject *o, TQEvent *e)
{
- if(TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(mainPage) && e->type() == TQEvent::Show)
+ if(o == mainPage && e->type() == TQEvent::Show)
{
// delayed init, hehe...
if(waitForShow)