diff options
Diffstat (limited to 'lib/kopalette/kopalettemanager.cpp')
-rw-r--r-- | lib/kopalette/kopalettemanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kopalette/kopalettemanager.cpp b/lib/kopalette/kopalettemanager.cpp index 26f30992..48dc682d 100644 --- a/lib/kopalette/kopalettemanager.cpp +++ b/lib/kopalette/kopalettemanager.cpp @@ -497,7 +497,7 @@ void KoPaletteManager::showAllPalettes(bool shown) bool KoPaletteManager::eventFilter( TQObject *o, TQEvent *e ) { - if (TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(m_view)) return false; + if (o != m_view) return false; if(e && e->type() == (TQEvent::User + 42)) { KParts::PartActivateEvent * pae = dynamic_cast<KParts::PartActivateEvent *>(e); |